forked from GNUsocial/gnu-social
Add onPluginVersion()
This commit is contained in:
parent
a4a39a2cc3
commit
7f3731e2ba
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user