Doc improvements
This commit is contained in:
parent
ef7846f7bd
commit
82a37d41d0
|
@ -362,8 +362,8 @@ class User implements IUser {
|
||||||
*/
|
*/
|
||||||
public function setQuota($quota) {
|
public function setQuota($quota) {
|
||||||
if($quota !== 'none' and $quota !== 'default') {
|
if($quota !== 'none' and $quota !== 'default') {
|
||||||
$quota= OC_Helper::computerFileSize($quota);
|
$quota = OC_Helper::computerFileSize($quota);
|
||||||
$quota=OC_Helper::humanFileSize($quota);
|
$quota = OC_Helper::humanFileSize($quota);
|
||||||
}
|
}
|
||||||
$this->config->setUserValue($this->uid, 'files', 'quota', $quota);
|
$this->config->setUserValue($this->uid, 'files', 'quota', $quota);
|
||||||
$this->triggerChange('quota');
|
$this->triggerChange('quota');
|
||||||
|
|
|
@ -180,7 +180,9 @@ interface IUser {
|
||||||
public function setEMailAddress($mailAddress);
|
public function setEMailAddress($mailAddress);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get the users' quota
|
* get the users' quota in human readable form. If a specific quota is not
|
||||||
|
* set for the user, the default value is returned. If a default setting
|
||||||
|
* was not set otherwise, it is return as 'none', i.e. quota is not limited.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
* @since 9.0.0
|
* @since 9.0.0
|
||||||
|
|
Loading…
Reference in New Issue