diff options
author | fabiocarneiro <fahecs@gmail.com> | 2015-05-27 12:56:17 +0300 |
---|---|---|
committer | fabiocarneiro <fahecs@gmail.com> | 2015-05-27 12:56:17 +0300 |
commit | a2a63d34ebb460174e1a3e8d8022fe3e3ab4b469 (patch) | |
tree | fbfc480352bc711bc03f12849824507e56b5034a /core/Access.php | |
parent | b2f5b5489ceca056217fc6663ec6c2c6b052cd42 (diff) |
fix core folder with php-cs-fixer for psr-2
Diffstat (limited to 'core/Access.php')
-rw-r--r-- | core/Access.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Access.php b/core/Access.php index 8a3e89ae44..ba0e662810 100644 --- a/core/Access.php +++ b/core/Access.php @@ -9,7 +9,6 @@ namespace Piwik; use Exception; -use Piwik\Db; /** * Singleton that manages user access to Piwik resources. @@ -226,7 +225,7 @@ class Access } $this->idsitesByAccess['superuser'] = $allSitesId; } - } else if (isset($this->login)) { + } elseif (isset($this->login)) { if (empty($this->idsitesByAccess['view']) && empty($this->idsitesByAccess['admin'])) { |