[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] addressbook/inc/hook_deleteaccount.inc.php, 1.5.6.3
From: |
nomail |
Subject: |
[Phpgroupware-cvs] addressbook/inc/hook_deleteaccount.inc.php, 1.5.6.3 |
Date: |
Sun, 18 Jul 2004 01:14:22 +0200 |
Update of /addressbook/inc
Modified Files:
Branch: Version-0_9_16-branch
hook_deleteaccount.inc.php
date: 2004/07/17 23:14:22; author: skwashd; state: Exp; lines: +5 -5
Log Message:
forgotten part of #9193
=====================================================================
Index: addressbook/inc/hook_deleteaccount.inc.php
diff -u addressbook/inc/hook_deleteaccount.inc.php:1.5.6.2
addressbook/inc/hook_deleteaccount.inc.php:1.5.6.3
--- addressbook/inc/hook_deleteaccount.inc.php:1.5.6.2 Thu Oct 30 02:38:26 2003
+++ addressbook/inc/hook_deleteaccount.inc.php Sat Jul 17 23:14:22 2004
@@ -14,13 +14,13 @@
$contacts = CreateObject('phpgwapi.contacts');
- if(intval($GLOBALS['HTTP_POST_VARS']['new_owner'])==0)
+ if(intval($_POST['new_owner'])==0)
{
-
$contacts->delete_all(intval($GLOBALS['HTTP_POST_VARS']['account_id']));
+ $contacts->delete_all(intval($_POST['account_id']));
}
else
{
-
$contacts->change_owner(intval($GLOBALS['HTTP_POST_VARS']['account_id']),intval($GLOBALS['HTTP_POST_VARS']['new_owner']));
-
$contacts->change_owner_others(intval($GLOBALS['HTTP_POST_VARS']['account_id']),intval($GLOBALS['HTTP_POST_VARS']['new_owner']));
+
$contacts->change_owner(intval($_POST['account_id']),intval($_POST['new_owner']));
+
$contacts->change_owner_others(intval($_POST['account_id']),intval($_POST['new_owner']));
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] addressbook/inc/hook_deleteaccount.inc.php, 1.5.6.3,
nomail <=