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/Updater.php
parentd187cf01a70164861dfdea2587593b66e516a589 (diff)
renamed Updates => Updater as mentioned in todo
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/Updater.php b/core/Updater.php
index cd66baf1f0..747163dfad 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -7,7 +7,7 @@
*
*/
namespace Piwik;
-use Piwik\Columns\Updates as ColumnUpdates;
+use Piwik\Columns\Updater as ColumnUpdater;
/**
* Load and execute all relevant, incremental update scripts for Piwik core and plugins, and bump the component version numbers for completed updates.
@@ -32,7 +32,7 @@ class Updater
$this->pathUpdateFileCore = PIWIK_INCLUDE_PATH . '/core/Updates/';
$this->pathUpdateFilePlugins = PIWIK_INCLUDE_PATH . '/plugins/%s/Updates/';
- ColumnUpdates::setUpdater($this);
+ ColumnUpdater::setUpdater($this);
}
/**
@@ -127,7 +127,7 @@ class Updater
}
if (in_array($className, $classNames)) {
- continue; // prevent from getting updates from Piwik\Columns\Updates multiple times
+ continue; // prevent from getting updates from Piwik\Columns\Updater multiple times
}
$classNames[] = $className;
@@ -156,7 +156,7 @@ class Updater
}
if ($this->isDimensionComponent($componentName)) {
- return '\\Piwik\\Columns\\Updates';
+ return '\\Piwik\\Columns\\Updater';
}
return '\\Piwik\\Plugins\\' . $componentName . '\\' . $className;
@@ -224,7 +224,7 @@ class Updater
if ($name == 'core') {
$pathToUpdates = $this->pathUpdateFileCore . '*.php';
} elseif ($this->isDimensionComponent($name)) {
- $componentsWithUpdateFile[$name][PIWIK_INCLUDE_PATH . '/core/Columns/Updates.php'] = $newVersion;
+ $componentsWithUpdateFile[$name][PIWIK_INCLUDE_PATH . '/core/Columns/Updater.php'] = $newVersion;
} else {
$pathToUpdates = sprintf($this->pathUpdateFilePlugins, $name) . '*.php';
}