User::delete should return bool

This commit is contained in:
Victor Dubiniuk 2013-10-07 22:24:25 +03:00
parent 6a93994a01
commit 77f43c357c
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}
}