summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-10 23:29:09 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-04-10 23:29:09 +0200
commitd363e2f0e3ff2e0d3dec9f976c0d7e016909f230 (patch)
tree8023087cce0517d6d9601dda368731a3d299753b /apps/provisioning_api/lib
parent3955cf14128b247933ca0fb4cd9c9dd46ea9b280 (diff)
downloadnextcloud-server-d363e2f0e3ff2e0d3dec9f976c0d7e016909f230.tar.gz
nextcloud-server-d363e2f0e3ff2e0d3dec9f976c0d7e016909f230.zip
The integrationtests expect a string
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r--apps/provisioning_api/lib/Controller/AUserData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/AUserData.php b/apps/provisioning_api/lib/Controller/AUserData.php
index 6c4967a6c3b..82ca98ced8c 100644
--- a/apps/provisioning_api/lib/Controller/AUserData.php
+++ b/apps/provisioning_api/lib/Controller/AUserData.php
@@ -92,7 +92,7 @@ abstract class AUserData extends OCSController {
// Should be at least Admin Or SubAdmin!
if( $this->groupManager->isAdmin($currentLoggedInUser->getUID())
|| $this->groupManager->getSubAdmin()->isUserAccessible($currentLoggedInUser, $targetUserObject)) {
- $data['enabled'] = $this->config->getUserValue($targetUserObject->getUID(), 'core', 'enabled', 'true') === 'true';
+ $data['enabled'] = $this->config->getUserValue($targetUserObject->getUID(), 'core', 'enabled', 'true');
} else {
// Check they are looking up themselves
if($currentLoggedInUser->getUID() !== $targetUserObject->getUID()) {