There is no popup alarm method anymore.
authorJan Schneider <jan@horde.org>
Wed, 3 Mar 2010 11:17:38 +0000 (12:17 +0100)
committerJan Schneider <jan@horde.org>
Wed, 3 Mar 2010 11:17:38 +0000 (12:17 +0100)
kronolith/lib/Event.php
nag/lib/Task.php

index bff33ca..17ea894 100644 (file)
@@ -1140,13 +1140,6 @@ abstract class Kronolith_Event
                 }
             }
         }
-        if (isset($methods['popup'])) {
-            $methods['popup']['message'] = $this->getTitle($user);
-            $description = $this->description;
-            if (!empty($description)) {
-                $methods['popup']['message'] .= "\n\n" . $description;
-            }
-        }
         if (isset($methods['mail'])) {
             $methods['mail']['body'] = sprintf(
                 _("We would like to remind you of this upcoming event.\n\n%s\n\nLocation: %s\n\nDate: %s\nTime: %s\n\n%s"),
index f195e28..ae5026f 100644 (file)
@@ -759,12 +759,6 @@ class Nag_Task {
                 }
             }
         }
-        if (isset($methods['popup'])) {
-            $methods['popup']['message'] = $this->name;
-            if (!empty($this->desc)) {
-                $methods['popup']['message'] .= "\n\n" . $this->desc;
-            }
-        }
         if (isset($methods['mail'])) {
             $methods['mail']['body'] = sprintf(
                 _("We would like to remind you of this due task.\n\n%s\n\nDate: %s\nTime: %s\n\n%s"),