fixed preDelete

This commit is contained in:
Roland Gruber 2012-06-05 18:19:52 +00:00
parent 5e4ef622f1
commit 1d03441efd
1 changed files with 1 additions and 1 deletions

View File

@ -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();