]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/GlobalCommunitySilence.php
Merge pull request #7068 from MrPetovan/task/7047-theme-error-page
[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__);