From 949bc2b86f28ec8f8c070535422ab54d9ed3eb53 Mon Sep 17 00:00:00 2001
From: Thomas Steur <tsteur@users.noreply.github.com>
Date: Mon, 21 Sep 2015 15:42:03 +0200
Subject: [PATCH] fix CronArchive event names for consistency

refs https://github.com/piwik/piwik/pull/8795
---
 core/CronArchive.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/CronArchive.php b/core/CronArchive.php
index e94f219713..e33b918154 100644
--- a/core/CronArchive.php
+++ b/core/CronArchive.php
@@ -285,7 +285,7 @@ class CronArchive
          *
          * @param CronArchive $this
          */
-        Piwik::postEvent('CoreArchive.init.start', array($this));
+        Piwik::postEvent('CronArchive.init.start', array($this));
 
         SettingsServer::setMaxExecutionTime(0);
 
@@ -457,7 +457,7 @@ class CronArchive
          *
          * @param CronArchive $this
          */
-        Piwik::postEvent('CoreArchive.end', array($this));
+        Piwik::postEvent('CronArchive.end', array($this));
 
         if (empty($this->errors)) {
             // No error -> Logs the successful script execution until completion
-- 
GitLab