aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/user.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-22 00:56:36 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-22 11:01:11 +0200
commit36ce254ffd5ace8357fd777c8af42a98df01ad29 (patch)
tree9fccdc4c8ff13c3c6b2d86797e5e3401734b021a /lib/private/user.php
parent67231ed9a75eafe5b417e4525e3d80b1a3f8826b (diff)
downloadnextcloud-server-36ce254ffd5ace8357fd777c8af42a98df01ad29.tar.gz
nextcloud-server-36ce254ffd5ace8357fd777c8af42a98df01ad29.zip
Move dummy backend to Tests namespace
Diffstat (limited to 'lib/private/user.php')
-rw-r--r--lib/private/user.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/user.php b/lib/private/user.php
index e70734ece40..ee1ff6f3766 100644
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -146,6 +146,10 @@ class OC_User {
self::$_usedBackends[$backend] = new OC_User_Database();
self::getManager()->registerBackend(self::$_usedBackends[$backend]);
break;
+ case 'dummy':
+ self::$_usedBackends[$backend] = new \Test\Util\User\Dummy();
+ self::getManager()->registerBackend(self::$_usedBackends[$backend]);
+ break;
default:
\OCP\Util::writeLog('core', 'Adding default user backend ' . $backend . '.', \OCP\Util::DEBUG);
$className = 'OC_USER_' . strToUpper($backend);