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:
Diffstat (limited to 'core/Updates/1.1.php')
-rw-r--r--core/Updates/1.1.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/core/Updates/1.1.php b/core/Updates/1.1.php
index d5ad681e1a..a98e4dc2f8 100644
--- a/core/Updates/1.1.php
+++ b/core/Updates/1.1.php
@@ -14,18 +14,18 @@
*/
class Piwik_Updates_1_1 extends Piwik_Updates
{
- static function update($schema = 'Myisam')
- {
- $config = Piwik_Config::getInstance();
+ static function update($schema = 'Myisam')
+ {
+ $config = Piwik_Config::getInstance();
- $rootLogin = $config->superuser['login'];
- try {
- // throws an exception if invalid
- Piwik::checkValidLoginString($rootLogin);
- } catch(Exception $e) {
- throw new Exception('Superuser login name "' . $rootLogin . '" is no longer a valid format. '
- . $e->getMessage()
- . ' Edit your config/config.ini.php to change it.');
- }
- }
+ $rootLogin = $config->superuser['login'];
+ try {
+ // throws an exception if invalid
+ Piwik::checkValidLoginString($rootLogin);
+ } catch (Exception $e) {
+ throw new Exception('Superuser login name "' . $rootLogin . '" is no longer a valid format. '
+ . $e->getMessage()
+ . ' Edit your config/config.ini.php to change it.');
+ }
+ }
}