Add onPluginVersion()

This commit is contained in:
Siebrand Mazeland 2010-09-20 19:59:13 +02:00
parent dfa164069d
commit 9679467201

View File

@ -164,5 +164,15 @@ class DiskCachePlugin extends Plugin
Event::handle('EndCacheDelete', array($key));
return false;
}
}
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'DiskCache',
'version' => STATUSNET_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:DiskCache',
'rawdescription' =>
_m('Plugin to implement cache interface with disk files.'));
return true;
}
}