Refactored the logging class to reduce code, use error levels correctly, and improve performance.

This commit is contained in:
Albert Santoni 2015-01-27 18:24:13 -05:00
parent 2b323400fc
commit e83c86a0ff
3 changed files with 42 additions and 50 deletions

View file

@ -136,7 +136,6 @@ class ScheduleController extends Zend_Controller_Action
$editable = $user->isUserType(array(UTYPE_ADMIN, UTYPE_PROGRAM_MANAGER));
$calendar_interval = Application_Model_Preference::GetCalendarTimeScale();
Logging::info($calendar_interval);
if ($calendar_interval == "agendaDay") {
list($start, $end) = Application_Model_Show::getStartEndCurrentDayView();
} else if ($calendar_interval == "agendaWeek") {