phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] infolog/inc hook_deleteaccount.inc.php, 1.1.2.1.2.1


From: skwashd
Subject: [Phpgroupware-cvs] infolog/inc hook_deleteaccount.inc.php, 1.1.2.1.2.1
Date: Sun, 4 Dec 2005 05:45:00 +0100

Update of infolog/inc

Modified Files:
     Branch: Version-0_9_16-branch
            hook_deleteaccount.inc.php lines: +2 -3

Log Message:
globals and php5 - fixes bug #13789

====================================================
Index: infolog/inc/hook_deleteaccount.inc.php
diff -u /dev/null infolog/inc/hook_deleteaccount.inc.php:1.1.2.1.2.1
--- /dev/null   Sun Dec  4 05:30:12 2005
+++ infolog/inc/hook_deleteaccount.inc.php      Sun Dec  4 04:45:02 2005
@@ -0,0 +1,19 @@
+<?php
+       
/**************************************************************************\
+       * phpGroupWare                                                          
   *
+       * http://www.phpgroupware.org                                           
   *
+       * --------------------------------------------                          
   *
+       *  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$ */
+
+       // Delete all records for a user
+       $info = CreateObject('infolog.soinfolog');
+
+       $info->change_delete_owner(intval($_POST['account_id']), 
intval($_POST['new_owner']));
+
+       unset($info);
+?>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]