From 1d2769699a7a472d80c4df8565d4600b4c76b087 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Mon, 30 Jun 2014 05:44:22 +0200 Subject: renamed Updates => Updater as mentioned in todo --- core/Updater.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/Updater.php') 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'; } -- cgit v1.2.3