]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GroupFavorited/GroupFavoritedPlugin.php
Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION
[quix0rs-gnu-social.git] / plugins / GroupFavorited / GroupFavoritedPlugin.php
index 27ce289c2e4f9242a87898490abe8886c751ab70..944a7251050a11e5058dfca143c1ac6b4de9a79c 100644 (file)
@@ -41,27 +41,6 @@ class GroupFavoritedPlugin extends Plugin
         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 'groupfavoritedaction':
-            require_once "$base/$lower.php";
-            return false;
-        default:
-            return true;
-        }
-    }
-
     function onEndGroupGroupNav(GroupNav $nav)
     {
         $action_name = $nav->action->trimmed('action');
@@ -91,7 +70,7 @@ class GroupFavoritedPlugin extends Plugin
         $url = 'http://status.net/wiki/Plugin:GroupFavorited';
 
         $versions[] = array('name' => 'GroupFavorited',
-            'version' => STATUSNET_VERSION,
+            'version' => GNUSOCIAL_VERSION,
             'author' => 'Brion Vibber',
             'homepage' => $url,
             'rawdescription' =>