users can open the current show to schedule and also rebroadcast shows.
This commit is contained in:
parent
2c35a0416a
commit
12302aa1dc
|
@ -75,11 +75,11 @@ class Application_Service_CalendarService
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//Show content can be modified from the calendar if:
|
//Show content can be modified from the calendar if:
|
||||||
// the show has not started,
|
// the show has not ended,
|
||||||
// the user is admin or hosting the show,
|
// the user is admin or hosting the show,
|
||||||
// the show is not recorded or rebroadcasted
|
// the show is not recorded
|
||||||
if ($now < $start && ($isAdminOrPM || $isHostOfShow) &&
|
if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
|
||||||
!$this->ccShowInstance->isRecorded() && !$this->ccShowInstance->isRebroadcast()) {
|
!$this->ccShowInstance->isRecorded() ) {
|
||||||
|
|
||||||
$menu["schedule"] = array(
|
$menu["schedule"] = array(
|
||||||
"name"=> _("Add / Remove Content"),
|
"name"=> _("Add / Remove Content"),
|
||||||
|
|
Loading…
Reference in New Issue