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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-18 08:43:56 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-18 08:43:56 +0400
commite2bdb9337ba2ddff6969549ad0b012b33ae0b1e1 (patch)
tree505c2de9318d5f3444077bb5efb2c5358b1b1173 /core/Tracker/Generator.php
parent6f285faef928f6ba9259c8591d279177216d87bc (diff)
core code using Piwik_FetchOne|All|Query to easily work on the DB
Diffstat (limited to 'core/Tracker/Generator.php')
-rw-r--r--core/Tracker/Generator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/Generator.php b/core/Tracker/Generator.php
index c52b1d904f..3927c9d571 100644
--- a/core/Tracker/Generator.php
+++ b/core/Tracker/Generator.php
@@ -334,7 +334,7 @@ class Piwik_Tracker_Generator
{
if($this->reinitProfilingAtEveryRequest)
{
- $all = Zend_Registry::get('db')->query('TRUNCATE TABLE '.Piwik::prefixTable('log_profiling').'' );
+ $all = Piwik_Query('TRUNCATE TABLE '.Piwik::prefixTable('log_profiling').'' );
}
}
}