remove memory usage log statements

This commit is contained in:
drigato 2014-08-15 16:25:37 -04:00
parent f863f4dfcf
commit 33f397f577
2 changed files with 1 additions and 7 deletions

View File

@ -967,7 +967,6 @@ SQL;
public static function getSchedule($p_fromDateTime = null, $p_toDateTime = null)
{
Logging::info(memory_get_usage()/(1024*1024));
//generate repeating shows if we are fetching the schedule
//for days beyond the shows_populated_until value in cc_pref
$needScheduleUntil = $p_toDateTime;
@ -976,7 +975,7 @@ SQL;
$needScheduleUntil->add(new DateInterval("P1D"));
}
Application_Model_Show::createAndFillShowInstancesPastPopulatedUntilDate($needScheduleUntil);
Logging::info(memory_get_usage()/(1024*1024));
list($range_start, $range_end) = self::getRangeStartAndEnd($p_fromDateTime, $p_toDateTime);
$data = array();

View File

@ -287,7 +287,6 @@ class Application_Service_ShowService
*/
public function delegateInstanceCreation($daysAdded=null, $end=null, $fillInstances=false)
{
Logging::info(memory_get_usage()/(1024*1024));
$populateUntil = $this->getPopulateShowUntilDateTIme();
if (is_null($this->ccShow)) {
@ -319,7 +318,6 @@ class Application_Service_ShowService
$ccShows = array();
foreach ($ccShowDays as $day) {
Logging::info(memory_get_usage()/(1024*1024));
$this->ccShow = $day->getCcShow();
$this->isRecorded = $this->ccShow->isRecorded();
@ -334,7 +332,6 @@ class Application_Service_ShowService
$this->createNonRepeatingInstance($day, $populateUntil);
break;
case REPEAT_WEEKLY:
Logging::info(memory_get_usage()/(1024*1024));
$this->createWeeklyRepeatInstances($day, $populateUntil, REPEAT_WEEKLY,
new DateInterval("P7D"), $daysAdded);
break;
@ -358,7 +355,6 @@ class Application_Service_ShowService
break;
}
}
Logging::info(memory_get_usage()/(1024*1024));
foreach ($ccShows as $ccShow) {
if (($this->isUpdate || $fillInstances) && $ccShow->isLinked()) {
@ -371,7 +367,6 @@ class Application_Service_ShowService
$this->ccShow, $this->linkedShowContent);
}*/
Logging::info(memory_get_usage()/(1024*1024));
return $this->ccShow;
}