summaryrefslogtreecommitdiffstats
path: root/lib/private/user.php
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-10-07 22:24:25 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-10-07 22:30:15 +0300
commit77f43c357c01f43a8136f5def0d4768545fda88a (patch)
treedbbe1bee4af203b69cf1579b9d555f32dbbf87c4 /lib/private/user.php
parent6a93994a0111b06de75eeaea5cda7fe5e8ca3790 (diff)
downloadnextcloud-server-77f43c357c01f43a8136f5def0d4768545fda88a.tar.gz
nextcloud-server-77f43c357c01f43a8136f5def0d4768545fda88a.zip
User::delete should return bool
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 04cd06b08bd..b68786c773c 100644
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -198,6 +198,10 @@ class OC_User {
// Delete user files in /data/
OC_Helper::rmdirr(OC_Config::getValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $uid . '/');
+
+ return true;
+ } else {
+ return false;
}
}