aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Log
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-05-02 14:04:58 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-05-03 08:57:26 +0200
commitfc82047e26274463ec8bd7fdfac15d889292e00a (patch)
tree56dd58beed2dbe71464aa8b830c091fad2fca647 /core/Command/Log
parentadf7e7295ed94a04bd9fcb056b81e664b45b4f07 (diff)
downloadnextcloud-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.php2
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');
}
}