-removed "Cancel current show" option for Guest user.
This commit is contained in:
parent
d0035e8e4c
commit
f74b0a562e
|
@ -176,11 +176,11 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
|
|
||||||
|
|
||||||
if (strtotime($show->getShowStart()) <= strtotime($today_timestamp) &&
|
if (strtotime($show->getShowStart()) <= strtotime($today_timestamp) &&
|
||||||
strtotime($today_timestamp) < strtotime($show->getShowEnd())) {
|
strtotime($today_timestamp) < strtotime($show->getShowEnd()) &&
|
||||||
|
$user->isAdmin()) {
|
||||||
$menu[] = array('action' => array('type' => 'fn',
|
$menu[] = array('action' => array('type' => 'fn',
|
||||||
//'url' => '/Schedule/cancel-current-show'.$params,
|
'callback' => "window['confirmCancelShow']($id)"),
|
||||||
'callback' => "window['confirmCancelShow']($id)"),
|
'title' => 'Cancel Current Show');
|
||||||
'title' => 'Cancel Current Show');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strtotime($today_timestamp) < strtotime($show->getShowStart())) {
|
if (strtotime($today_timestamp) < strtotime($show->getShowStart())) {
|
||||||
|
|
Loading…
Reference in New Issue