Skip to content

Commit

Permalink
Tweak phpdoc to make it more clear what each of these do.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 21, 2016
1 parent 3156014 commit adc1afd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions kronolith/lib/Driver.php
Expand Up @@ -443,6 +443,9 @@ protected function _move($eventId, $newCalendar)
/**
* Stub to be overridden in the child class.
*
* Note: This method only "Purges" the calendar - removing the
* events, it doesn't remove the calendar itself.
*
* @throws Kronolith_Exception
*/
public function delete($calendar)
Expand Down
2 changes: 1 addition & 1 deletion kronolith/lib/Driver/Kolab.php
Expand Up @@ -495,7 +495,7 @@ protected function _move($eventId, $newCalendar)
}

/**
* Delete a calendar and all its events.
* Delete all of a calendar's events.
*
* @param string $calendar The name of the calendar to delete.
*
Expand Down
2 changes: 1 addition & 1 deletion kronolith/lib/Driver/Sql.php
Expand Up @@ -752,7 +752,7 @@ protected function _move($eventId, $newCalendar)
}

/**
* Delete a calendar and all its events.
* Delete all of a calendar's events.
*
* @param string $calendar The name of the calendar to delete.
*
Expand Down
2 changes: 1 addition & 1 deletion kronolith/lib/Kronolith.php
Expand Up @@ -1337,7 +1337,7 @@ public static function updateShare(&$calendar, $info)
}

/**
* Deletes a share.
* Deletes a share and removes all events associated with it.
*
* @param Horde_Share $calendar The share to delete.
*
Expand Down

0 comments on commit adc1afd

Please sign in to comment.