]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Merge pull request #2325 from fabrixxm/api_ping
[friendica.git] / index.php
index 2b1053cc1b7b976588d22a69168b5a87d293f010..bf926d1fe76f166c7c240036560c86223d8f7814 100644 (file)
--- a/index.php
+++ b/index.php
@@ -233,16 +233,7 @@ if(strlen($a->module)) {
        }
 
        /**
-        * If not, next look for module overrides by the theme
-        */
-
-       if((! $a->module_loaded) && (file_exists("view/theme/" . current_theme() . "/mod/{$a->module}.php"))) {
-               include_once("view/theme/" . current_theme() . "/mod/{$a->module}.php");
-               // We will not set module_loaded to true to allow for partial overrides.
-       }
-
-       /**
-        * Finally, look for a 'standard' program module in the 'mod' directory
+        * If not, next look for a 'standard' program module in the 'mod' directory
         */
 
        if((! $a->module_loaded) && (file_exists("mod/{$a->module}.php"))) {