From 375e89169e7c4f74e54fc5025ae84d1f26d42cde Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Mon, 10 Sep 2012 11:27:39 -0400 Subject: [PATCH] Removed code duplication --- airtime_mvc/application/models/ShowInstance.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/airtime_mvc/application/models/ShowInstance.php b/airtime_mvc/application/models/ShowInstance.php index 238b08f27..1c8c66783 100644 --- a/airtime_mvc/application/models/ShowInstance.php +++ b/airtime_mvc/application/models/ShowInstance.php @@ -833,10 +833,6 @@ SQL; public function isRepeating() { - if ($this->getShow()->isRepeating()) { - return true; - } else { - return false; - } + return $this->getShow()->isRepeating(); } }