[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/infolog/inc/ -> hook_deleteaccount.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare                                                               *
   4      * http://www.egroupware.org                                                *
   5      * --------------------------------------------                             *
   6      *  This program is free software; you can redistribute it and/or modify it *
   7      *  under the terms of the GNU General Public License as published by the   *
   8      *  Free Software Foundation; either version 2 of the License, or (at your  *
   9      *  option) any later version.                                              *
  10      \**************************************************************************/
  11      /* $Id: hook_deleteaccount.inc.php 19386 2005-10-13 14:20:40Z ralfbecker $ */
  12  
  13      // Delete all records for a user
  14      if((int)$GLOBALS['hook_values']['account_id'] > 0)
  15      {
  16          $info =& CreateObject('infolog.soinfolog');
  17  
  18          $info->change_delete_owner((int)$GLOBALS['hook_values']['account_id'],(int)$_POST['new_owner']);
  19  
  20          unset($info);
  21      }
  22  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7