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@googlemail.com>2014-06-30 07:44:22 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-30 07:44:22 +0400
commit1d2769699a7a472d80c4df8565d4600b4c76b087 (patch)
treecdff2341ce7b123c95c169b5e7b96506bafcf64f /core/Columns
parentd187cf01a70164861dfdea2587593b66e516a589 (diff)
renamed Updates => Updater as mentioned in todo
Diffstat (limited to 'core/Columns')
-rw-r--r--core/Columns/Updater.php (renamed from core/Columns/Updates.php)21
1 files changed, 3 insertions, 18 deletions
diff --git a/core/Columns/Updates.php b/core/Columns/Updater.php
index f744d794f1..1a311977f0 100644
--- a/core/Columns/Updates.php
+++ b/core/Columns/Updater.php
@@ -12,14 +12,12 @@ use Piwik\DbHelper;
use Piwik\Plugin\ActionDimension;
use Piwik\Plugin\VisitDimension;
use Piwik\Db;
-use Piwik\Updater;
+use Piwik\Updater as PiwikUpdater;
/**
* Class that handles dimension updates
- *
- * TODO rename to "Updater"
*/
-class Updates extends \Piwik\Updates
+class Updater extends \Piwik\Updates
{
/**
* @var Updater
@@ -62,7 +60,7 @@ class Updates extends \Piwik\Updates
Db::exec($sql);
} catch (\Exception $e) {
if (!Db::get()->isErrNo($e, '1091') && !Db::get()->isErrNo($e, '1060')) {
- Updater::handleQueryError($e, $sql, false, __FILE__);
+ PiwikUpdater::handleQueryError($e, $sql, false, __FILE__);
}
}
}
@@ -136,17 +134,4 @@ class Updates extends \Piwik\Updates
return $changingColumns;
}
- public static function hasUpdates()
- {
- $changingColumns = self::getUpdates();
-
- foreach ($changingColumns as $columns) {
- if (!empty($columns)) {
- return true;
- }
- }
-
- return false;
- }
-
}