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:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-07-18 13:45:02 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-07-18 13:45:02 +0400
commit03b4953f008c1063e6d7166143ba844e8c6e89cc (patch)
tree7b9f0fef13d75417c551f813c98dba1a22f2fff3 /core/Tracker/Db.php
parent9b2c0a7a450fff3b634f8119c8003ae1d20b97d0 (diff)
Refactor class Piwik_Common to \Piwik\Core\Common
Notice that auto refactoring has created a nested namespace. Not sure this is what we want - so we might have to edit those nested namespaces afterwards (I think they don't look so good)
Diffstat (limited to 'core/Tracker/Db.php')
-rw-r--r--core/Tracker/Db.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Tracker/Db.php b/core/Tracker/Db.php
index 6ddb7b5183..6d33bc39c5 100644
--- a/core/Tracker/Db.php
+++ b/core/Tracker/Db.php
@@ -8,7 +8,7 @@
* @category Piwik
* @package Piwik
*/
-use Piwik\Core\Piwik_Common;
+use Piwik\Core\Common;
/**
* Simple database wrapper.
@@ -98,7 +98,7 @@ abstract class Piwik_Tracker_Db
$time = $info['sum_time_ms'];
$count = $info['count'];
- $queryProfiling = "INSERT INTO " . Piwik_Common::prefixTable('log_profiling') . "
+ $queryProfiling = "INSERT INTO " . Common::prefixTable('log_profiling') . "
(query,count,sum_time_ms) VALUES (?,$count,$time)
ON DUPLICATE KEY
UPDATE count=count+$count,sum_time_ms=sum_time_ms+$time";