Update of /cvsroot/phpwebsite-comm/modules/openid/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31841/inc
Modified Files:
close.php
Added Files:
remove_user.php
Log Message:
Adding remove_user.php to support new User mod feature.
--- NEW FILE: remove_user.php ---
<?php
/**
* OpenID module for phpWebSite
*
* See docs/CREDITS for copyright information
*
* 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
*
* @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net>
* @version $Id: remove_user.php,v 1.1 2008/07/11 16:23:34 blindman1344 Exp $
*/
function openid_remove_user($user_id)
{
$db = new PHPWS_DB('openid_mapping');
$db->addWhere('user_id', $user_id);
PHPWS_Error::logIfError($db->delete());
}
?>
Index: close.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/openid/inc/close.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** close.php 11 Feb 2008 02:11:54 -0000 1.2
--- close.php 11 Jul 2008 16:23:34 -0000 1.3
***************
*** 25,29 ****
OpenID_Runtime::delegate();
OpenID_Runtime::show();
- OpenID_Runtime::clean();
?>
\ No newline at end of file
--- 25,28 ----
|