|
From: Verdon V. <ve...@us...> - 2008-06-13 13:40:54
|
Update of /cvsroot/phpwebsite-comm/modules/rolodex/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8173/inc Added Files: remove_user.php Log Message: add remove_user inc file --- NEW FILE: remove_user.php --- <?php /** * rolodex - phpwebsite module * * See docs/AUTHORS and docs/COPYRIGHT for relevant info. * * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: remove_user.php,v 1.1 2008/06/13 13:41:00 verdonv Exp $ * @author Verdon Vaillancourt <verdonv at users dot sourceforge dot net> */ function rolodex_remove_user($user_id) { PHPWS_Core::initModClass('rolodex', 'RDX_Member.php'); $member = new Rolodex_member((int)$user_id); if (!$member->user_id) { return; } return $member->deleteMember(); } ?> |