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');
$url = 'http://status.net/wiki/Plugin:GroupFavorited';
$versions[] = array('name' => 'GroupFavorited',
- 'version' => STATUSNET_VERSION,
+ 'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>