User::delete should return bool
This commit is contained in:
parent
6a93994a01
commit
77f43c357c
|
@ -198,6 +198,10 @@ class OC_User {
|
||||||
|
|
||||||
// Delete user files in /data/
|
// Delete user files in /data/
|
||||||
OC_Helper::rmdirr(OC_Config::getValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $uid . '/');
|
OC_Helper::rmdirr(OC_Config::getValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $uid . '/');
|
||||||
|
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue