deleting repeating shows only deletes shows in the future, but having problems with full calendar caching results or something so display on calendar can be incorrect.
This commit is contained in:
parent
84111d23a3
commit
e27c42fef6
8 changed files with 192 additions and 125 deletions
|
@ -131,11 +131,13 @@ class ScheduleController extends Zend_Controller_Action
|
|||
public function deleteShowAction()
|
||||
{
|
||||
$showId = $this->_getParam('showId');
|
||||
$date = $this->_getParam('date');
|
||||
|
||||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
||||
|
||||
$show = new Show(new User($userInfo->id, $userInfo->type));
|
||||
$show->deleteShow($showId);
|
||||
$user = new User($userInfo->id, $userInfo->type);
|
||||
$show = new Show($user, $showId);
|
||||
$show->deleteShow($date);
|
||||
}
|
||||
|
||||
public function makeContextMenuAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue