summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2007-06-29 09:37:07 +0000
committerLester Caine <lester@lsces.co.uk>2007-06-29 09:37:07 +0000
commit90c777f28a150c3f14c7adece2210d0a2682b2c3 (patch)
tree1106be1e1148a87878d4f2bc430bfddc722e0be0
parent72e67e776acf82925e207bb7855183fe0bbe25fd (diff)
downloadusers-90c777f28a150c3f14c7adece2210d0a2682b2c3.tar.gz
users-90c777f28a150c3f14c7adece2210d0a2682b2c3.tar.bz2
users-90c777f28a150c3f14c7adece2210d0a2682b2c3.zip
Remove debug around expunge which was breaking remove user
-rw-r--r--BitPermUser.php7
-rw-r--r--BitUser.php7
2 files changed, 6 insertions, 8 deletions
diff --git a/BitPermUser.php b/BitPermUser.php
index b4b2a7a..db2e055 100644
--- a/BitPermUser.php
+++ b/BitPermUser.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/BitPermUser.php,v 1.62 2007/06/24 03:48:57 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/BitPermUser.php,v 1.63 2007/06/29 09:37:07 lsces Exp $
*
* Lib for user administration, groups and permissions
* This lib uses pear so the constructor requieres
@@ -11,7 +11,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: BitPermUser.php,v 1.62 2007/06/24 03:48:57 spiderr Exp $
+ * $Id: BitPermUser.php,v 1.63 2007/06/29 09:37:07 lsces Exp $
* @package users
*/
@@ -24,7 +24,7 @@ require_once( dirname( __FILE__ ).'/BitUser.php' );
* Class that holds all information for a given user
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.62 $
+ * @version $Revision: 1.63 $
* @package users
* @subpackage BitPermUser
*/
@@ -145,7 +145,6 @@ class BitPermUser extends BitUser {
*/
function expunge() {
global $gBitSystem, $gBitUser;
-$this->debug(99);
if( $this->isValid() ) {
$this->mDb->StartTrans();
if( $this->mUserId == $gBitUser->mUserId ) {
diff --git a/BitUser.php b/BitUser.php
index 8d471e5..23f0a5c 100644
--- a/BitUser.php
+++ b/BitUser.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.146 2007/06/24 03:48:57 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.147 2007/06/29 09:37:07 lsces Exp $
*
* Lib for user administration, groups and permissions
* This lib uses pear so the constructor requieres
@@ -12,7 +12,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: BitUser.php,v 1.146 2007/06/24 03:48:57 spiderr Exp $
+ * $Id: BitUser.php,v 1.147 2007/06/29 09:37:07 lsces Exp $
* @package users
*/
@@ -40,7 +40,7 @@ define("ACCOUNT_DISABLED", -6);
* Class that holds all information for a given user
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.146 $
+ * @version $Revision: 1.147 $
* @package users
* @subpackage BitUser
*/
@@ -691,7 +691,6 @@ class BitUser extends LibertyAttachable {
// we need to get the content_id of the user to nuke all the prefs that have been stored
$query = "DELETE FROM `".BIT_DB_PREFIX."liberty_content_prefs` WHERE `content_id` = ?";
$result = $this->mDb->query( $query, array( $this->mContentId ) );
-bt(); die;
$this->mDb->CompleteTrans();
$logHash['action_log']['title'] = $this->mInfo['login'];