Set BaseObject::setApp in App

This commit is contained in:
Hypolite Petovan 2018-06-25 20:44:35 -04:00
parent e952d6677b
commit decfc553f7
7 changed files with 7 additions and 21 deletions

View file

@ -9,7 +9,6 @@
*/
use Friendica\App;
use Friendica\BaseObject;
use Friendica\Content\Nav;
use Friendica\Core\Addon;
use Friendica\Core\Config;
@ -25,7 +24,6 @@ use Friendica\Module\Login;
require_once 'boot.php';
$a = new App(__DIR__);
BaseObject::setApp($a);
// We assume that the index.php is called by a frontend process
// The value is set to "true" by default in boot.php