1
1
Fork 0

Remove obsolete lines from Console\Config

This commit is contained in:
Hypolite Petovan 2018-09-25 23:00:00 -04:00
parent be0f71bedb
commit c80045edaf

View file

@ -1,11 +1,5 @@
<?php <?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; namespace Friendica\Core\Console;
use Asika\SimpleConsole\CommandArgsException; use Asika\SimpleConsole\CommandArgsException;
@ -13,9 +7,6 @@ use Friendica\App;
use Friendica\Core; use Friendica\Core;
use RuntimeException; use RuntimeException;
require_once 'include/dba.php';
require_once 'include/text.php';
/** /**
* @brief tool to access the system config from the CLI * @brief tool to access the system config from the CLI
* *
@ -80,7 +71,7 @@ HELP;
protected function doExecute() protected function doExecute()
{ {
$a = get_app(); $a = \Friendica\BaseObject::getApp();
if ($this->getOption('v')) { if ($this->getOption('v')) {
$this->out('Executable: ' . $this->executable); $this->out('Executable: ' . $this->executable);