]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/NewMenu/NewMenuPlugin.php
Merge remote branch 'gitorious/testing' into testing
[quix0rs-gnu-social.git] / plugins / NewMenu / NewMenuPlugin.php
index 14950ab079887911a9bb74b79afefe358279d80a..7aad0672bf995ad441c4a925a60440fc91162c48 100644 (file)
@@ -53,31 +53,6 @@ class NewMenuPlugin extends Plugin
 {
     public $loadCSS = false;
 
-    /**
-     * Load related modules when needed
-     *
-     * @param string $cls Name of the class to be loaded
-     *
-     * @return boolean hook value; true means continue processing, false means stop.
-     */
-
-    function onAutoload($cls)
-    {
-        $dir = dirname(__FILE__);
-
-        switch ($cls)
-        {
-        case 'HelloAction':
-            include_once $dir . '/' . strtolower(mb_substr($cls, 0, -6)) . '.php';
-            return false;
-        case 'User_greeting_count':
-            include_once $dir . '/'.$cls.'.php';
-            return false;
-        default:
-            return true;
-        }
-    }
-
     /**
      * Modify the default menu
      *