Small formatting change
This commit is contained in:
parent
05e4195165
commit
3261bd6307
|
@ -268,8 +268,9 @@ class Application_Service_CalendarService
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->ccShow->isRebroadcast()) {
|
if ($this->ccShow->isRebroadcast()) {
|
||||||
$recordedShow = CcShowInstancesQuery::create()->filterByCcShow(
|
$recordedShow = CcShowInstancesQuery::create()
|
||||||
$this->ccShowInstance->getDbOriginalShow())->findOne();
|
->filterByCcShow($this->ccShowInstance->getDbOriginalShow())
|
||||||
|
->findOne();
|
||||||
if (is_null($recordedShow)) {
|
if (is_null($recordedShow)) {
|
||||||
$this->ccShowInstance->delete();
|
$this->ccShowInstance->delete();
|
||||||
throw new Exception(_("Show was deleted because recorded show does not exist!"));
|
throw new Exception(_("Show was deleted because recorded show does not exist!"));
|
||||||
|
|
Loading…
Reference in New Issue