mirror of
https://github.com/friendica/friendica
synced 2025-05-06 06:24:11 +02:00
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet()
This commit is contained in:
parent
c7230932d6
commit
26af2feee2
8 changed files with 10 additions and 16 deletions
|
@ -66,10 +66,6 @@ class App
|
|||
public $timezone;
|
||||
public $interactive = true;
|
||||
public $identities;
|
||||
/** @deprecated 2019.09 - Use App\Mode->isMobile() instead */
|
||||
public $is_mobile;
|
||||
/** @deprecated 2019.09 - Use App\Mode->isTable() instead */
|
||||
public $is_tablet;
|
||||
public $theme_info = [];
|
||||
public $category;
|
||||
// Allow themes to control internal parameters
|
||||
|
@ -183,9 +179,6 @@ class App
|
|||
$this->module = $module->getName();
|
||||
$this->page = $page;
|
||||
|
||||
$this->is_mobile = $mode->isMobile();
|
||||
$this->is_tablet = $mode->isTablet();
|
||||
|
||||
$this->load();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue