]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Typo.php
Posts per author/server on the community pages (#13764)
[friendica.git] / src / Console / Typo.php
index 488e362aaf83ec573314019a37c749e4dc6ea2cf..a3e9b770505b6873540c0d9ba10aae6bdcacd227 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -60,7 +60,7 @@ HELP;
                $this->config = $config;
        }
 
-       protected function doExecute()
+       protected function doExecute(): int
        {
                if ($this->getOption('v')) {
                        $this->out('Class: ' . __CLASS__);
@@ -105,13 +105,6 @@ HELP;
                $files = glob('mod/*.php');
                $this->checkFiles($php_path, $files);
 
-               if ($this->getOption('v')) {
-                       $this->out('Directory: include');
-               }
-
-               $files = glob('include/*.php');
-               $this->checkFiles($php_path, $files);
-
                if ($this->getOption('v')) {
                        $this->out('Directory: addon');
                }