Provide the tasks with the backend. This allows to avoid bootstraping the tasks witho...
authorGunnar Wrobel <p@rdus.de>
Wed, 10 Mar 2010 08:57:19 +0000 (09:57 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Wed, 10 Mar 2010 08:58:42 +0000 (09:58 +0100)
framework/LoginTasks/lib/Horde/LoginTasks.php

index 38d1fce..a28b963 100644 (file)
@@ -140,7 +140,7 @@ class Horde_LoginTasks
         $cur_date = getdate();
 
         foreach ($this->_backend->getTasks() as $classname => $app) {
-            $ob = new $classname();
+            $ob = new $classname($this->_backend);
 
             /* If marked inactive, skip the task. */
             if (!$ob->active) {