From: Evan Prodromou Date: Fri, 7 Oct 2011 14:01:44 +0000 (-0400) Subject: add version for OfflineBackup X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0d35673d5ab2093c21cc5fe0e5327868e18d0a1b;p=quix0rs-gnu-social.git add version for OfflineBackup --- diff --git a/plugins/OfflineBackup/OfflineBackupPlugin.php b/plugins/OfflineBackup/OfflineBackupPlugin.php index e08e2721b1..a7bede2875 100644 --- a/plugins/OfflineBackup/OfflineBackupPlugin.php +++ b/plugins/OfflineBackup/OfflineBackupPlugin.php @@ -86,4 +86,16 @@ class OfflineBackupPlugin extends Plugin $qm->connect('backoff', 'OfflineBackupQueueHandler'); return true; } + + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'OfflineBackup', + 'version' => STATUSNET_VERSION, + 'author' => 'Evan Prodromou', + 'homepage' => 'http://status.net/wiki/Plugin:OfflineBackup', + 'rawdescription' => + // TRANS: Plugin description. + _m('Backup user data in offline queue and email when ready.')); + return true; + } }