From 1d03441efdd65aef9b5c001f3d78ccba4016777e Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 5 Jun 2012 18:19:52 +0000 Subject: [PATCH] fixed preDelete --- lam/lib/modules/quota.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules/quota.inc b/lam/lib/modules/quota.inc index b272beb4..3f4b1291 100644 --- a/lam/lib/modules/quota.inc +++ b/lam/lib/modules/quota.inc @@ -279,7 +279,7 @@ class quota extends baseModule { */ function preDeleteActions() { $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 if ($this->get_scope()=='user') { $attrs = $this->getAccountContainer()->getAccountModule('posixAccount')->getAttributes();