cvs: pear /Perm_LiveUser/Admin/Auth/Container DB.php MDB.php MDB2.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Mon, 05 Jul 2004 09:42:05 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Admin/Auth/Container DB.php MDB.php MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21521@lists.php.net to get a copy of this message | ||
dufuz Mon Jul 5 05:42:05 2004 EDT
Modified files:
/pear/Perm_LiveUser/Admin/Auth/Container DB.php MDB2.php MDB.php
Log:
removeUser had hardcoded auth_user_id, changed so it will now get the user_id defined in the conf
array
http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Auth/Container/DB.php?r1=1.56&r2=1.57&ty=u
Index: pear/Perm_LiveUser/Admin/Auth/Container/DB.php
diff -u pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.56
pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.57
--- pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.56 Sat Jun 19 13:51:35 2004
+++ pear/Perm_LiveUser/Admin/Auth/Container/DB.php Mon Jul 5 05:42:04 2004
@@ -45,7 +45,7 @@
* This class is only experimental. API may change. Use it at your own risk.
*
* @author Bjoern Kraus <krausbn@php.net>
- * @version $Id: DB.php,v 1.56 2004/06/19 17:51:35 arnaud Exp $
+ * @version $Id: DB.php,v 1.57 2004/07/05 09:42:04 dufuz Exp $
* @package LiveUser
* @category authentication
*/
@@ -243,7 +243,7 @@
DELETE FROM
' . $this->authTable . '
WHERE
- auth_user_id = '.$this->dbc->quoteSmart($authId);
+
'.$this->authTableCols['required']['auth_user_id']['name'].'='.$this->dbc->quoteSmart($authId);
$result = $this->dbc->query($query);
http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php?r1=1.28&r2=1.29&ty=u
Index: pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php
diff -u pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php:1.28
pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php:1.29
--- pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php:1.28 Sat Jun 19 13:51:35 2004
+++ pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php Mon Jul 5 05:42:04 2004
@@ -45,7 +45,7 @@
* This class is only experimental. API may change. Use it at your own risk.
*
* @author Lukas Smith <smith@backendmedia.com>
- * @version $Id: MDB2.php,v 1.28 2004/06/19 17:51:35 arnaud Exp $
+ * @version $Id: MDB2.php,v 1.29 2004/07/05 09:42:04 dufuz Exp $
* @package LiveUser
* @category authentication
*/
@@ -262,7 +262,7 @@
DELETE FROM
' . $this->authTable . '
WHERE
- auth_user_id = ' . $this->dbc->quote($authId,
$this->authTableCols['required']['auth_user_id']['type']);
+
'.$this->authTableCols['required']['auth_user_id']['name'].'='
. $this->dbc->quote($authId,
$this->authTableCols['required']['auth_user_id']['type']);
$result = $this->dbc->query($query);
http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Auth/Container/MDB.php?r1=1.62&r2=1.63&ty=u
Index: pear/Perm_LiveUser/Admin/Auth/Container/MDB.php
diff -u pear/Perm_LiveUser/Admin/Auth/Container/MDB.php:1.62
pear/Perm_LiveUser/Admin/Auth/Container/MDB.php:1.63
--- pear/Perm_LiveUser/Admin/Auth/Container/MDB.php:1.62 Sat Jun 19 13:51:35 2004
+++ pear/Perm_LiveUser/Admin/Auth/Container/MDB.php Mon Jul 5 05:42:04 2004
@@ -45,7 +45,7 @@
* This class is only experimental. API may change. Use it at your own risk.
*
* @author Lukas Smith <smith@backendmedia.com>
- * @version $Id: MDB.php,v 1.62 2004/06/19 17:51:35 arnaud Exp $
+ * @version $Id: MDB.php,v 1.63 2004/07/05 09:42:04 dufuz Exp $
* @package LiveUser
* @category authentication
*/
@@ -262,7 +262,7 @@
DELETE FROM
' . $this->authTable . '
WHERE
- auth_user_id = ' .
$this->dbc->getValue($this->authTableCols['required']['auth_user_id']['type'],
$authId);
+
'.$this->authTableCols['required']['auth_user_id']['name'].'='
.
$this->dbc->getValue($this->authTableCols['required']['auth_user_id']['type'],
$authId);
$result = $this->dbc->query($query);