diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-23 11:52:15 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-23 11:52:15 +0400 |
commit | 5104d94f3b2250f766b9c520e2da8da9b4cab2e9 (patch) | |
tree | 5f30daf7bc14373fb1bbd0504ce11a771dafc02f /core/Updates.php | |
parent | ae4b1f4e38077b174e4df5b7d4513d63fe026a24 (diff) |
Refs #4059 Work in progress: Conversion to use Namespaces of dozen more classes
Removed many Piwik_ functions, in Piwik 2 it is best practise to use the methods calls instead
Todo: finish converting core/ classes + convert plugins/ classes to use \Piwik\Plugin namespace + fix build + Merge master
Diffstat (limited to 'core/Updates.php')
-rw-r--r-- | core/Updates.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/Updates.php b/core/Updates.php index e4387d0634..9f5e7ab1ee 100644 --- a/core/Updates.php +++ b/core/Updates.php @@ -8,6 +8,8 @@ * @category Piwik * @package Piwik */ +namespace Piwik; + use Piwik\Config; /** @@ -16,7 +18,7 @@ use Piwik\Config; * @example core/Updates/0.4.2.php * @package Piwik */ -abstract class Piwik_Updates +abstract class Updates { /** * Return SQL to be executed in this update @@ -87,7 +89,6 @@ abstract class Piwik_Updates $config->forceSave(); } - public static function deletePluginFromConfigFile($pluginToDelete) { $config = Config::getInstance(); @@ -108,6 +109,4 @@ abstract class Piwik_Updates $config->forceSave(); } } - - } |