CC-3143 : Allow content to be scheduled in an overlapping show.
removing check for scheduling an overlapping show, doesn't make sense with new resize rules.
This commit is contained in:
parent
f15429c8d6
commit
b7a9e89095
|
@ -385,14 +385,6 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
$start_timestamp = $show->getShowInstanceStart();
|
$start_timestamp = $show->getShowInstanceStart();
|
||||||
$end_timestamp = $show->getShowInstanceEnd();
|
$end_timestamp = $show->getShowInstanceEnd();
|
||||||
|
|
||||||
//check to make sure show doesn't overlap.
|
|
||||||
if(Application_Model_Show::getShows(new DateTime($start_timestamp, new DateTimeZone("UTC")),
|
|
||||||
new DateTime($end_timestamp, new DateTimeZone("UTC")),
|
|
||||||
array($showInstanceId))) {
|
|
||||||
$this->view->error = "cannot schedule an overlapping show.";
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$dateInfo_s = getDate(strtotime(Application_Model_DateHelper::ConvertToLocalDateTimeString($start_timestamp)));
|
$dateInfo_s = getDate(strtotime(Application_Model_DateHelper::ConvertToLocalDateTimeString($start_timestamp)));
|
||||||
$dateInfo_e = getDate(strtotime(Application_Model_DateHelper::ConvertToLocalDateTimeString($end_timestamp)));
|
$dateInfo_e = getDate(strtotime(Application_Model_DateHelper::ConvertToLocalDateTimeString($end_timestamp)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue