]> git.mxchange.org Git - friendica.git/commitdiff
Remove old BaseModule routing
authorPhilipp Holzer <admin@philipp.info>
Thu, 2 May 2019 20:05:56 +0000 (22:05 +0200)
committerPhilipp Holzer <admin@philipp.info>
Thu, 2 May 2019 20:05:56 +0000 (22:05 +0200)
src/App.php

index f3b0ab64156c7be4dd6ba8e055e51c838fb87060..e89f450ba6c6d49f99cd5872ffe559d83db0475f 100644 (file)
@@ -1202,11 +1202,6 @@ class App
                        }
                }
 
-               // Then we try name-matching a Friendica\Module class
-               if (!$this->module_class && class_exists('Friendica\\Module\\' . ucfirst($this->module))) {
-                       $this->module_class = 'Friendica\\Module\\' . ucfirst($this->module);
-               }
-
                /* Finally, we look for a 'standard' program module in the 'mod' directory
                 * We emulate a Module class through the LegacyModule class
                 */