fixed preDelete
This commit is contained in:
parent
5e4ef622f1
commit
1d03441efd
|
@ -279,7 +279,7 @@ class quota extends baseModule {
|
||||||
*/
|
*/
|
||||||
function preDeleteActions() {
|
function preDeleteActions() {
|
||||||
$this->initQuotas();
|
$this->initQuotas();
|
||||||
if (!isset($this->quota) || !is_array($this->quota)) return true;
|
if (!isset($this->quota) || !is_array($this->quota)) return array();
|
||||||
// determine if this is a user or group account
|
// determine if this is a user or group account
|
||||||
if ($this->get_scope()=='user') {
|
if ($this->get_scope()=='user') {
|
||||||
$attrs = $this->getAccountContainer()->getAccountModule('posixAccount')->getAttributes();
|
$attrs = $this->getAccountContainer()->getAccountModule('posixAccount')->getAttributes();
|
||||||
|
|
Loading…
Reference in New Issue