diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-02 09:50:22 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-02 09:50:22 +0400 |
commit | 535cb4b0028b6eff460b1ad68086c604e5320425 (patch) | |
tree | af78e3e23147815223c81d02801d44a4a38eefa0 /core/Tracker.php | |
parent | e9fc869ba865d58841740114a4dff25d7fe589f5 (diff) |
this might make the ui faster, do no longer check for components all the time
Diffstat (limited to 'core/Tracker.php')
-rw-r--r-- | core/Tracker.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Tracker.php b/core/Tracker.php index 67fdb94d95..6a75e60d2f 100644 --- a/core/Tracker.php +++ b/core/Tracker.php @@ -9,7 +9,6 @@ namespace Piwik; use Exception; -use Piwik\Cache\StaticCache; use Piwik\Plugins\PrivacyManager\Config as PrivacyManagerConfig; use Piwik\Tracker\Cache; use Piwik\Tracker\Db\DbException; @@ -228,7 +227,6 @@ class Tracker public function main($args = null) { try { - StaticCache::loadTrackerCache(); $tokenAuth = $this->initRequests($args); } catch (Exception $ex) { $this->exitWithException($ex, true); @@ -254,6 +252,8 @@ class Tracker $this->handleEmptyRequest(new Request($_GET + $_POST)); } + Piwik::postEvent('Tracker.end'); + $this->end(); $this->flushOutputBuffer(); @@ -638,7 +638,7 @@ class Tracker * Triggered before a new **visit tracking object** is created. Subscribers to this * event can force the use of a custom visit tracking object that extends from * {@link Piwik\Tracker\VisitInterface}. - * + * * @param \Piwik\Tracker\VisitInterface &$visit Initialized to null, but can be set to * a new visit object. If it isn't modified * Piwik uses the default class. |