[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] tts/inc/hook_deleteaccount.inc.php, 1.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] tts/inc/hook_deleteaccount.inc.php, 1.1 |
Date: |
Tue, 14 Dec 2004 22:46:27 +0100 |
Update of /tts/inc
Added Files:
Branch:
hook_deleteaccount.inc.php
date: 2004/12/14 21:46:27; author: fipsfuchs; state: Exp;
Log Message:
thx to bjohnson
=====================================================================
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* Written by Mark Peters <address@hidden> *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id: hook_deleteaccount.inc.php,v 1.1 2004/12/14 21:46:27 fipsfuchs
Exp $ */
$GLOBALS['phpgw']->db->query("UPDATE phpgw_tts_tickets SET ticket_owner
= "
. intval($GLOBALS['HTTP_POST_VARS']['new_owner'])
. " WHERE ticket_owner=" .
intval($GLOBALS['HTTP_POST_VARS']['account_id'])
);
$GLOBALS['phpgw']->db->query("UPDATE phpgw_tts_tickets SET
ticket_assignedto = "
. intval($GLOBALS['HTTP_POST_VARS']['new_owner'])
. " WHERE ticket_assignedto=" .
intval($GLOBALS['HTTP_POST_VARS']['account_id'])
);
$GLOBALS['phpgw']->db->query("UPDATE phpgw_tts_views SET
view_account_id = "
. intval($GLOBALS['HTTP_POST_VARS']['new_owner'])
. " WHERE view_account_id=" .
intval($GLOBALS['HTTP_POST_VARS']['account_id'])
);
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] tts/inc/hook_deleteaccount.inc.php, 1.1,
nomail <=