]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add version for OfflineBackup
authorEvan Prodromou <evan@status.net>
Fri, 7 Oct 2011 14:01:44 +0000 (10:01 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 7 Oct 2011 14:01:44 +0000 (10:01 -0400)
plugins/OfflineBackup/OfflineBackupPlugin.php

index e08e2721b15daaa69572771f92c98859b47a1e6d..a7bede2875d23d10a3354b55c4340beeaddf2a18 100644 (file)
@@ -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;
+    }
 }