Fix null Alarm driver.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 6 Jul 2010 14:57:54 +0000 (08:57 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 6 Jul 2010 14:57:54 +0000 (08:57 -0600)
framework/Alarm/lib/Horde/Alarm/Null.php

index ca25a58..bfa8330 100644 (file)
@@ -32,6 +32,16 @@ class Horde_Alarm_Null extends Horde_Alarm
     }
 
     /**
+     * Returns a list of all global alarms from the backend.
+     *
+     * @return array  A list of alarm hashes.
+     */
+    protected function _global()
+    {
+        return array();
+    }
+
+    /**
      * Returns an alarm hash from the backend.
      *
      * @param string $id    The alarm's unique id.