diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-03 13:38:21 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-03 13:38:21 +0400 |
commit | 644b63fd6035fd8d0b113e8ce71629af0378e738 (patch) | |
tree | e10ef366a9961bcfc5c6f73e34692b93c9e09c9e /core | |
parent | 263b0700c9f700bc00749fbadc0f67f4bc478b26 (diff) |
Fix notice
Diffstat (limited to 'core')
-rw-r--r-- | core/CronArchive.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/CronArchive.php b/core/CronArchive.php index 015298f37c..f77ae23983 100644 --- a/core/CronArchive.php +++ b/core/CronArchive.php @@ -540,7 +540,7 @@ class CronArchive $url .= self::APPEND_TO_API_REQUEST; - $visitsInLastPeriods = 0; + $visitsInLastPeriods = $visitsLastPeriod = 0; $success = true; $urls = array(); @@ -1206,7 +1206,7 @@ class CronArchiveFatalException extends Exception $this->fullOutput = $fullOutput; } - public function logAndExit(CronArchive $cronArchiver) + public function logAndExit(CronArchive$cronArchiver) { if ($cronArchiver->isCoreInited()) { $cronArchiver->logError($this->getMessage()); |