]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OpportunisticQM/OpportunisticQMPlugin.php
XSS vulnerability when remote-subscribing
[quix0rs-gnu-social.git] / plugins / OpportunisticQM / OpportunisticQMPlugin.php
index 89bd15a1a0210f087349322c0ae4e7685b021ed7..0b57fb4ccc222e047f56a3644a3ed2c73e8be2fc 100644 (file)
@@ -14,7 +14,7 @@ class OpportunisticQMPlugin extends Plugin {
      * When the page has finished rendering, let's do some cron jobs
      * if we have the time.
      */
-    public function onEndActionExecute($status, Action $action)
+    public function onEndActionExecute(Action $action)
     {
         if ($action instanceof RunqueueAction) {
             return true;
@@ -32,7 +32,7 @@ class OpportunisticQMPlugin extends Plugin {
         return true;
     }
 
-    public function onPluginVersion(&$versions)
+    public function onPluginVersion(array &$versions)
     {
         $versions[] = array('name' => 'OpportunisticQM',
                             'version' => GNUSOCIAL_VERSION,