From d94c5fcff41810ff074d27480aad9267940a39d1 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 31 Aug 2010 13:22:43 +0000 Subject: [PATCH] Fixed problems while removing the groupware extension git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19508 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../groupware/personal/groupware/class_filterEditor.inc | 2 ++ .../groupware/personal/groupware/class_groupware.inc | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc b/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc index e892e4544..3474ed024 100644 --- a/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc +++ b/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc @@ -22,6 +22,8 @@ class filterEditor extends plugin{ { $smarty = get_smarty(); + + $smarty->assign('list', $this->filterListing->render()); return($smarty->fetch(get_template_path('filterEditor.tpl',TRUE,dirname(__FILE__)))); diff --git a/gosa-plugins/groupware/personal/groupware/class_groupware.inc b/gosa-plugins/groupware/personal/groupware/class_groupware.inc index 6f6d7b52e..fa70d041e 100644 --- a/gosa-plugins/groupware/personal/groupware/class_groupware.inc +++ b/gosa-plugins/groupware/personal/groupware/class_groupware.inc @@ -128,9 +128,9 @@ class groupware extends plugin ****************/ if(isset($_POST['modify_state'])){ - if($this->is_account && $this->acl_is_removeable() && $this->mailMethod->accountRemoveAble()){ + if($this->is_account && $this->acl_is_removeable()){ $this->is_account= FALSE; - }elseif(!$this->is_account && $this->acl_is_createable() && $this->mailMethod->accountCreateable()){ + }elseif(!$this->is_account && $this->acl_is_createable()){ $this->is_account= TRUE; } } @@ -451,7 +451,7 @@ class groupware extends plugin if($obj){ /* Replace vacation start and end time */ - if($this->mailMethod->vacationRangeEnabled()){ + if($this->enabledFeatures['vacationMessage']){ if(preg_match("/%start/",$contents)){ $contents = preg_replace("/%start/",$this->vacationStart,$contents); } -- 2.30.2