From: Victor Dubiniuk Date: Mon, 7 Oct 2013 19:24:25 +0000 (+0300) Subject: User::delete should return bool X-Git-Tag: v6.0.0alpha2~57^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=77f43c357c01f43a8136f5def0d4768545fda88a;p=nextcloud-server.git User::delete should return bool --- 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; } }