Do not call non-static method static in BackgroundQueueHandler
authorMatthias Schmidt <gravatronics@live.com>
Fri, 10 Jun 2016 15:51:20 +0000 (17:51 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 10 Jun 2016 15:51:20 +0000 (17:51 +0200)
wcfsetup/install/files/lib/system/background/BackgroundQueueHandler.class.php

index e34a224cd7809939b6d913b838f5ea8b24c040e1..c07bf82fbbef4c6ea64bf24e070f0d0023ebb1dd 100644 (file)
@@ -39,7 +39,7 @@ class BackgroundQueueHandler extends SingletonFactory {
         * @see \wcf\system\background\BackgroundQueueHandler::enqueueAt()
         */
        public function enqueueIn($jobs, $time = 0) {
-               self::enqueueAt($jobs, TIME_NOW + $time);
+               $this->enqueueAt($jobs, TIME_NOW + $time);
        }
        
        /**