From d4e8eed51d8845a9475685b4b1e68caac818f447 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Mon, 27 Oct 2014 15:52:58 -0400 Subject: [PATCH] Marked old functions for API calls as deprecated --- airtime_mvc/application/models/Schedule.php | 1 + airtime_mvc/application/models/Show.php | 1 + 2 files changed, 2 insertions(+) diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 7dd3943fd..334aac4f1 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -104,6 +104,7 @@ SQL; /** * Old version of the function for backwards compatibility + * @deprecated */ public static function GetPlayOrderRangeOld() { diff --git a/airtime_mvc/application/models/Show.php b/airtime_mvc/application/models/Show.php index 1f7452adf..b0507dba6 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -1201,6 +1201,7 @@ SQL; * @param $utcNow A DateTime object containing the current time in UTC. * @return An array (with stupid sub-arrays) containing the previous show id, * current show id, and next show id. + * @deprecated */ public static function getPrevCurrentNextOld($utcNow) {