actually return the quote when getting global storage info
prevents 'undefined' index errors when 'include external storage in quota' is enabled Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
0e57eabfa0
commit
555900a0d2
|
@ -585,8 +585,13 @@ class OC_Helper {
|
||||||
$relative = 0;
|
$relative = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return array('free' => $free, 'used' => $used, 'total' => $total, 'relative' => $relative);
|
return [
|
||||||
|
'free' => $free,
|
||||||
|
'used' => $used,
|
||||||
|
'total' => $total,
|
||||||
|
'relative' => $relative,
|
||||||
|
'quota' => $quota
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue