User::delete should return bool
This commit is contained in:
parent
6a93994a01
commit
77f43c357c
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue