diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-05-02 14:04:58 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-05-03 08:57:26 +0200 |
commit | fc82047e26274463ec8bd7fdfac15d889292e00a (patch) | |
tree | 56dd58beed2dbe71464aa8b830c091fad2fca647 /core/Command/Log | |
parent | adf7e7295ed94a04bd9fcb056b81e664b45b4f07 (diff) | |
download | nextcloud-server-fc82047e26274463ec8bd7fdfac15d889292e00a.tar.gz nextcloud-server-fc82047e26274463ec8bd7fdfac15d889292e00a.zip |
Move OC_Log_xx to \OC\Log namespace
Diffstat (limited to 'core/Command/Log')
-rw-r--r-- | core/Command/Log/Manage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php index 1d65d7ed0d8..aeaaca8aa0e 100644 --- a/core/Command/Log/Manage.php +++ b/core/Command/Log/Manage.php @@ -115,7 +115,7 @@ class Manage extends Command { * @throws \InvalidArgumentException */ protected function validateBackend($backend) { - if (!class_exists('OC_Log_'.$backend)) { + if (!class_exists('OC\\Log\\'.ucfirst($backend))) { throw new \InvalidArgumentException('Invalid backend'); } } |