From c80045edafef1498769d3567461b49afa935dcaf Mon Sep 17 00:00:00 2001 From: Hypolite Petovan <mrpetovan@gmail.com> Date: Tue, 25 Sep 2018 23:00:00 -0400 Subject: [PATCH] Remove obsolete lines from Console\Config --- src/Core/Console/Config.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Core/Console/Config.php b/src/Core/Console/Config.php index da2d20fd13..db436b8394 100644 --- a/src/Core/Console/Config.php +++ b/src/Core/Console/Config.php @@ -1,11 +1,5 @@ <?php -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ - namespace Friendica\Core\Console; use Asika\SimpleConsole\CommandArgsException; @@ -13,9 +7,6 @@ use Friendica\App; use Friendica\Core; use RuntimeException; -require_once 'include/dba.php'; -require_once 'include/text.php'; - /** * @brief tool to access the system config from the CLI * @@ -80,7 +71,7 @@ HELP; protected function doExecute() { - $a = get_app(); + $a = \Friendica\BaseObject::getApp(); if ($this->getOption('v')) { $this->out('Executable: ' . $this->executable); -- 2.39.5