From 0d35673d5ab2093c21cc5fe0e5327868e18d0a1b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 7 Oct 2011 10:01:44 -0400 Subject: [PATCH] add version for OfflineBackup --- plugins/OfflineBackup/OfflineBackupPlugin.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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; + } }