Add onPluginVersion()

This commit is contained in:
Siebrand Mazeland 2010-09-20 19:38:00 +02:00
parent a4a39a2cc3
commit 7f3731e2ba

View File

@ -198,4 +198,15 @@ class AdsensePlugin extends UAPPlugin
} }
return true; return true;
} }
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'BlankAdPlugin',
'version' => STATUSNET_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Adsense',
'rawdescription' =>
_m('Plugin to add Google Adsense to StatusNet sites.'));
return true;
}
} }