This is already a constant
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 11 May 2010 19:38:55 +0000 (15:38 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 11 May 2010 19:38:55 +0000 (15:38 -0400)
kronolith/lib/Event.php

index 9672bfe..960aa8d 100644 (file)
@@ -1035,7 +1035,7 @@ abstract class Kronolith_Event
         default:
             $status = Kronolith::STATUS_NONE;
         }
-        $this->status = constant('Kronolith::STATUS_' . $status);
+        $this->status = $status;
 
         /* Alarm */
         if ($alarm = $message->getReminder()) {