Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-10-09 00:41:38 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-09 00:41:38 +0400
commite846e3518a661219d22e4c8a4883454a817ae4d2 (patch)
treef92d25bbfa601749cbb25c8b7fd9ac35114cd3ed /plugins/Installation/Installation.php
parentce90b2183e067fddc683420a6c9d68149f5f5f6d (diff)
refs #4199 more event documentations
Diffstat (limited to 'plugins/Installation/Installation.php')
-rw-r--r--plugins/Installation/Installation.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Installation/Installation.php b/plugins/Installation/Installation.php
index 18095125fc..77a3e33471 100644
--- a/plugins/Installation/Installation.php
+++ b/plugins/Installation/Installation.php
@@ -59,7 +59,11 @@ class Installation extends \Piwik\Plugin
Translate::getInstance()->loadCoreTranslation();
- Piwik_PostEvent('Installation.startInstallation', array($this));
+ /**
+ * This event is triggered when the installation will be started. You can use this event to modify the
+ * installation process to your needs (adding/removing steps, removing steps, etc.).
+ */
+ Piwik_PostEvent('Installation.startInstallation', array($installation = $this));
$step = Common::getRequestVar('action', 'welcome', 'string');
$controller = $this->getInstallationController();