From 26f7b52a089d749ce8e6dc4b0470a89187cd00db Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 30 Aug 2005 15:59:44 +0000 Subject: [PATCH] renamed delete flag functions to avoid conflict with delete.php --- lam/lib/modules/kolabUser.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lam/lib/modules/kolabUser.inc b/lam/lib/modules/kolabUser.inc index 44f775eb..bc86132b 100644 --- a/lam/lib/modules/kolabUser.inc +++ b/lam/lib/modules/kolabUser.inc @@ -438,7 +438,7 @@ class kolabUser extends baseModule { * @param array $post HTTP-POST values */ function process_attributes(&$post) { - if ($post['kolabDelete']) return 'delete'; + if ($post['kolabDelete']) return 'deleteUser'; $this->triggered_messages = array(); $this->attributes['kolabInvitationPolicy'] = array(); // country @@ -591,7 +591,7 @@ class kolabUser extends baseModule { * * @param array $post HTTP-POST values */ - function display_html_delete(&$post) { + function display_html_deleteUser(&$post) { $return = array(); $return[] = array( 0 => array('kind' => 'text', 'text' => _('Do you really want to mark this account for deletion?'), 'td' => array('colspan' => 2))); @@ -608,7 +608,7 @@ class kolabUser extends baseModule { * * @param array $post HTTP-POST values */ - function process_delete(&$post) { + function process_deleteUser(&$post) { if ($post['kolabDeleteConfirm']) { // set delete flag $this->attributes['kolabDeleteflag'][0] = $this->attributes['kolabHomeServer'][0];