123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- defined('GNUSOCIAL') || die();
- class UnQueuePlugin extends Plugin
- {
- const PLUGIN_VERSION = '0.0.1';
- public function onStartNewQueueManager(?QueueManager &$qm)
- {
- $qm = new UnQueueManager();
- return false;
- }
- public function onPluginVersion(array &$versions): bool
- {
- $versions[] = ['name' => 'UnQueue',
- 'version' => self::PLUGIN_VERSION,
- 'author' => 'Miguel Dantas',
- 'homepage' => GNUSOCIAL_ENGINE_URL,
- 'description' =>
-
- _m('Plugin using the database as a backend for GNU social queues')
- ];
- return true;
- }
- };
|