mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
move backend constant
This commit is contained in:
parent
2c5ba7fc15
commit
11752d7059
1 changed files with 20 additions and 21 deletions
|
@ -17,27 +17,6 @@ class Module
|
|||
{
|
||||
const DEFAULT = 'home';
|
||||
const DEFAULT_CLASS = Home::class;
|
||||
|
||||
/**
|
||||
* @var string The module name
|
||||
*/
|
||||
private $module;
|
||||
|
||||
/**
|
||||
* @var BaseObject The module class
|
||||
*/
|
||||
private $module_class;
|
||||
|
||||
/**
|
||||
* @var bool true, if the module is a backend module
|
||||
*/
|
||||
private $isBackend;
|
||||
|
||||
/**
|
||||
* @var bool true, if the loaded addon is private, so we have to print out not allowed
|
||||
*/
|
||||
private $printNotAllowedAddon;
|
||||
|
||||
/**
|
||||
* A list of modules, which are backend methods
|
||||
*
|
||||
|
@ -71,6 +50,26 @@ class Module
|
|||
'xrd',
|
||||
];
|
||||
|
||||
/**
|
||||
* @var string The module name
|
||||
*/
|
||||
private $module;
|
||||
|
||||
/**
|
||||
* @var BaseObject The module class
|
||||
*/
|
||||
private $module_class;
|
||||
|
||||
/**
|
||||
* @var bool true, if the module is a backend module
|
||||
*/
|
||||
private $isBackend;
|
||||
|
||||
/**
|
||||
* @var bool true, if the loaded addon is private, so we have to print out not allowed
|
||||
*/
|
||||
private $printNotAllowedAddon;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue