CC-3655: Context menu for current show missing add/remove content and remove all content options.

-undone
This commit is contained in:
Martin Konecny 2012-04-17 12:23:56 -04:00
parent 9c9838b35c
commit cdf92b016f
1 changed files with 1 additions and 3 deletions

View File

@ -227,8 +227,7 @@ class ScheduleController extends Zend_Controller_Action
$showStartLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceStart());
$showEndLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceEnd());
if ($epochNow < $showEndLocalDT->getTimestamp()) {
if ($epochNow < $showStartLocalDT->getTimestamp()) {
if ( ($isAdminOrPM || $isDJ)
&& !$instance->isRecorded()
&& !$instance->isRebroadcast()) {
@ -239,7 +238,6 @@ class ScheduleController extends Zend_Controller_Action
$menu["clear"] = array("name"=> "Remove All Content", "icon" => "remove-all-content",
"url" => "/schedule/clear-show");
}
}
if (!$instance->isRecorded()) {