Skip to content

Commit

Permalink
phpdoc/@SInCE
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 6, 2014
1 parent 4420e8f commit 3ce039a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion framework/Alarm/lib/Horde/Alarm.php
Expand Up @@ -177,6 +177,8 @@ abstract protected function _global();
* text: An optional alarm description.
* snooze: The snooze time (next time) of the alarm as a Horde_Date.
* internal: Holds internally used data.
* instanceid: Holds an instance identifier for recurring alarms.
* (@since 2.2.0)
* </pre>
* @throws Horde_Alarm_Exception
*/
Expand Down Expand Up @@ -223,7 +225,7 @@ public function set(array $alarm, $keep = false)

// If this is a recurring alarm and we have a new instanceid,
// remove the previous entry regardless of the value of $keep.
// Otherwise, the alarm will never be reset.
// Otherwise, the alarm will never be reset. @since 2.2.0
if (!empty($alarm['instanceid']) &&
!$this->exists($alarm['id'], isset($alarm['user']) ? $alarm['user'] : '', !empty($alarm['instanceid']) ? $alarm['instanceid'] : null)) {
$this->delete($alarm['id'], isset($alarm['user']) ? $alarm['user'] : '');
Expand Down Expand Up @@ -278,6 +280,7 @@ abstract public function internal($id, $user, array $internal);
* @param string $id The alarm's unique id.
* @param string $user The alarm's user
* @param string $instanceid An optional instanceid to check for.
* @since 2.2.0
*
* @return boolean True if the specified alarm exists.
*/
Expand Down

0 comments on commit 3ce039a

Please sign in to comment.