]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/BitlyUrl/BitlyUrlPlugin.php
plugins onAutoload now only overloads if necessary (extlibs etc.)
[quix0rs-gnu-social.git] / plugins / BitlyUrl / BitlyUrlPlugin.php
index 5efd573896c4f3fd807a17b6b4b25a549352bdf2..8b2fc6551f0b53a95b886d2dc801aaa5dff8afaa 100644 (file)
@@ -205,27 +205,6 @@ class BitlyUrlPlugin extends UrlShortenerPlugin
         return true;
     }
 
-    /**
-     * Automatically load the actions and libraries used by the plugin
-     *
-     * @param Class $cls the class
-     *
-     * @return boolean hook return
-     *
-     */
-    function onAutoload($cls)
-    {
-        $base = dirname(__FILE__);
-        $lower = strtolower($cls);
-        switch ($lower) {
-        case 'bitlyadminpanelaction':
-            require_once "$base/$lower.php";
-            return false;
-        default:
-            return true;
-        }
-    }
-
     /**
      * Internal hook point to check the default global credentials so
      * the admin form knows if we have a fallback or not.