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:
authormattab <matthieu.aubry@gmail.com>2013-09-14 03:49:42 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-14 03:49:42 +0400
commit6ea0fe5c49de11a0693e0f588ae06484cf3f6503 (patch)
tree88d27410c6cf0a8e95cf64c6b8774348638412ae /core/View.php
parent7589d301b04fba494557ca8dae1a12bd3476363a (diff)
Refactoring Profiler features out of Piwik class
Diffstat (limited to 'core/View.php')
-rw-r--r--core/View.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/View.php b/core/View.php
index f4eca77395..fea23de6ac 100644
--- a/core/View.php
+++ b/core/View.php
@@ -11,15 +11,6 @@
namespace Piwik;
use Exception;
-use Piwik\Config;
-use Piwik\Piwik;
-use Piwik\Common;
-use Piwik\AssetManager;
-use Piwik\Version;
-use Piwik\Url;
-use Piwik\UpdateCheck;
-use Piwik\Twig;
-use Piwik\QuickForm2;
use Piwik\Plugins\SitesManager\API as SitesManagerAPI;
use Piwik\Plugins\UsersManager\API as UsersManagerAPI;
use Piwik\View\ViewInterface;
@@ -138,7 +129,7 @@ class View implements ViewInterface
try {
$this->totalTimeGeneration = \Zend_Registry::get('timer')->getTime();
- $this->totalNumberOfQueries = Piwik::getQueryCount();
+ $this->totalNumberOfQueries = Profiler::getQueryCount();
} catch (Exception $e) {
$this->totalNumberOfQueries = 0;
}