Merge pull request #7070 from nupplaphil/task/mod_old_routing

Remove old BaseModule routing
This commit is contained in:
Hypolite Petovan 2019-05-02 16:51:58 -04:00 committed by GitHub
commit 5b1fe458d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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
*/