Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-10-07 23:24:25 +0400
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-10-07 23:30:15 +0400
commit77f43c357c01f43a8136f5def0d4768545fda88a (patch)
treedbbe1bee4af203b69cf1579b9d555f32dbbf87c4 /lib/private/user.php
parent6a93994a0111b06de75eeaea5cda7fe5e8ca3790 (diff)
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;
}
}