From a5aec42dfe17f454c49855c1d3ab2a00c51e4409 Mon Sep 17 00:00:00 2001
From: Patryk Andrzejewski <patryk@piwik.pro>
Date: Mon, 21 Sep 2015 15:12:09 +0200
Subject: [PATCH] rename events

---
 core/CronArchive.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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