CC-3404: Change "Now Playing" dashboard SQL query to take advantage of the "playout_status" field in the schedule table

- Updated the logic in GetPlayOrderRange now I get the previous, current and next shows and tracks to be played.
- This information is then sent back to the caller.
	- if the previous track is null the previous show is sent back as an example of the algorithm.
This commit is contained in:
Daniel 2012-03-13 10:21:01 -04:00
parent 09b5d9003b
commit cbaeda1d6b
3 changed files with 141 additions and 10 deletions

View file

@ -23,7 +23,7 @@ class Logging {
}
public static function debug($p_msg){
if (APPLICATION_ENV == "development"){
if (defined('APPLICATION_ENV') && APPLICATION_ENV == "development"){
$logger = self::getLogger();
$logger->debug($p_msg);
}