]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/GlobalCommunitySilence.php
Merge branch '2019.01-rc' into bug/6334-escape-get-app
[friendica.git] / src / Core / Console / GlobalCommunitySilence.php
index 01413cab13ffe05bd4d93beb846f380abc942c3a..b0281241e360c003692ef92efeef0933cf543838 100644 (file)
@@ -8,8 +8,6 @@ use Friendica\Network\Probe;
 use Friendica\Util\Strings;
 use RuntimeException;
 
-require_once 'include/text.php';
-
 /**
  * @brief tool to silence accounts on the global community page
  *
@@ -49,7 +47,7 @@ HELP;
 
        protected function doExecute()
        {
-               $a = get_app();
+               $a = \get_app();
 
                if ($this->getOption('v')) {
                        $this->out('Class: ' . __CLASS__);