cvs: pear /Perm_LiveUser/Admin/Auth/Container DB.php MDB.php MDB2.php

From: Date: Sun, 13 Jun 2004 15:13:25 +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-20598@lists.php.net to get a copy of this message
lsmith Sun Jun 13 11:13:25 2004 EDT Modified files: /pear/Perm_LiveUser/Admin/Auth/Container DB.php MDB.php MDB2.php Log: typo fixes related to changes made for bug #1554

http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Auth/Container/DB.php?r1=1.52&r2=1.53&ty=u Index: pear/Perm_LiveUser/Admin/Auth/Container/DB.php diff -u pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.52 pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.53 --- pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.52 Fri Jun 11 05:44:01 2004 +++ pear/Perm_LiveUser/Admin/Auth/Container/DB.php Sun Jun 13 11:13:24 2004 @@ -47,7 +47,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.52 2004/06/11 09:44:01 arnaud Exp $ + * @version $Id: DB.php,v 1.53 2004/06/13 15:13:24 lsmith Exp $ * @package LiveUser * @category authentication */ @@ -82,7 +82,7 @@ /** * Columns of the auth table. * Associative array with the names of the auth table columns. - * The 'user_id', 'handle' and 'passwd' fields have to be set. + * The 'auth_user_id', 'handle' and 'passwd' fields have to be set. * 'lastlogin', 'is_active', 'owner_user_id' and 'owner_group_id' are optional. * It doesn't make sense to set only one of the time columns without the * other. @@ -203,7 +203,7 @@ INSERT INTO ' . $this->authTable . ' ( - ' . $this->authTableCols['required']['user_id']['name'] . ', + ' . $this->authTableCols['required']['auth_user_id']['name'] . ', ' . $this->authTableCols['required']['handle']['name'] . ', ' . $this->authTableCols['required']['passwd']['name'] . ' ' . $col . ' @@ -320,7 +320,7 @@ } $query .= ' WHERE - ' . $this->authTableCols['required']['user_id']['name'] . ' = ' . $this->dbc->quoteSmart($authId); + ' . $this->authTableCols['required']['auth_user_id']['name'] . ' = ' . $this->dbc->quoteSmart($authId); $result = $this->dbc->query($query); @@ -444,7 +444,7 @@ // First: Get all data from auth table. $query = ' SELECT - ' . $this->authTableCols['required']['user_id']['name'] . ' AS auth_user_id, + ' . $this->authTableCols['required']['auth_user_id']['name'] . ' AS auth_user_id, ' . $this->authTableCols['required']['handle']['name'] . ' AS handle, ' . $this->authTableCols['required']['passwd']['name'] . ' AS passwd ' . $fields . ' http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Auth/Container/MDB.php?r1=1.58&r2=1.59&ty=u Index: pear/Perm_LiveUser/Admin/Auth/Container/MDB.php diff -u pear/Perm_LiveUser/Admin/Auth/Container/MDB.php:1.58 pear/Perm_LiveUser/Admin/Auth/Container/MDB.php:1.59 --- pear/Perm_LiveUser/Admin/Auth/Container/MDB.php:1.58 Fri Jun 11 05:45:59 2004 +++ pear/Perm_LiveUser/Admin/Auth/Container/MDB.php Sun Jun 13 11:13:24 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.58 2004/06/11 09:45:59 arnaud Exp $ + * @version $Id: MDB.php,v 1.59 2004/06/13 15:13:24 lsmith Exp $ * @package LiveUser * @category authentication */ @@ -80,7 +80,7 @@ /** * Columns of the auth table. * Associative array with the names of the auth table columns. - * The 'user_id', 'handle' and 'passwd' fields have to be set. + * The 'auth_user_id', 'handle' and 'passwd' fields have to be set. * 'lastlogin', 'is_active', 'owner_user_id' and 'owner_group_id' are optional. * It doesn't make sense to set only one of the time columns without the * other. @@ -219,7 +219,7 @@ ' . $this->authTable . ' ( - ' . $this->authTableCols['required']['user_id']['name'] . ', + ' . $this->authTableCols['required']['auth_user_id']['name'] . ', ' . $this->authTableCols['required']['handle']['name'] . ', ' . $this->authTableCols['required']['passwd']['name'] . ' ' . $col . ' @@ -227,7 +227,7 @@ VALUES ( - ' . $this->dbc->getValue($this->authTableCols['required']['user_id']['type'], $authId) . ', + ' . $this->dbc->getValue($this->authTableCols['required']['auth_user_id']['type'], $authId) . ', ' . $this->dbc->getValue($this->authTableCols['required']['handle']['type'], $handle) . ', ' . $this->dbc->getValue($this->authTableCols['required']['passwd']['type'], $this->encryptPW($password)) . ' ' . $val . ' @@ -260,7 +260,7 @@ DELETE FROM ' . $this->authTable . ' WHERE - auth_user_id = ' . $this->dbc->getValue($this->authTableCols['required']['user_id']['type'], $authId); + auth_user_id = ' . $this->dbc->getValue($this->authTableCols['required']['auth_user_id']['type'], $authId); $result = $this->dbc->query($query); @@ -338,8 +338,8 @@ } $query .= ' WHERE - ' . $this->authTableCols['required']['user_id']['name'] . '=' - . $this->dbc->getValue($this->authTableCols['required']['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); @@ -465,7 +465,7 @@ // First: Get all data from auth table. $query = ' SELECT - ' . $this->authTableCols['required']['user_id']['name'] . ' AS auth_user_id, + ' . $this->authTableCols['required']['auth_user_id']['name'] . ' AS auth_user_id, ' . $this->authTableCols['required']['handle']['name'] . ' AS handle, ' . $this->authTableCols['required']['passwd']['name'] . ' AS passwd ' . $fields . ' @@ -475,7 +475,7 @@ . $order; $types = array( - $this->authTableCols['required']['user_id']['type'], + $this->authTableCols['required']['auth_user_id']['type'], $this->authTableCols['required']['handle']['type'], $this->authTableCols['required']['passwd']['type'], ); http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php?r1=1.24&r2=1.25&ty=u Index: pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php diff -u pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php:1.24 pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php:1.25 --- pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php:1.24 Fri Jun 11 05:45:59 2004 +++ pear/Perm_LiveUser/Admin/Auth/Container/MDB2.php Sun Jun 13 11:13:24 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.24 2004/06/11 09:45:59 arnaud Exp $ + * @version $Id: MDB2.php,v 1.25 2004/06/13 15:13:24 lsmith Exp $ * @package LiveUser * @category authentication */ @@ -80,7 +80,7 @@ /** * Columns of the auth table. * Associative array with the names of the auth table columns. - * The 'user_id', 'handle' and 'passwd' fields have to be set. + * The 'auth_user_id', 'handle' and 'passwd' fields have to be set. * 'lastlogin', 'is_active', 'owner_user_id' and 'owner_group_id' are optional. * It doesn't make sense to set only one of the time columns without the * other. @@ -219,7 +219,7 @@ ' . $this->authTable . ' ( - ' . $this->authTableCols['required']['user_id']['name'] . ', + ' . $this->authTableCols['required']['auth_user_id']['name'] . ', ' . $this->authTableCols['required']['handle']['name'] . ', ' . $this->authTableCols['required']['passwd']['name'] . ' ' . $col . ' @@ -227,7 +227,7 @@ VALUES ( - ' . $this->dbc->quote($authId, $this->authTableCols['required']['user_id']['type']) . ', + ' . $this->dbc->quote($authId, $this->authTableCols['required']['auth_user_id']['type']) . ', ' . $this->dbc->quote($handle, $this->authTableCols['required']['handle']['type']) . ', ' . $this->dbc->quote($this->encryptPW($password), $this->authTableCols['required']['passwd']['type']) . ' ' . $val . ' @@ -260,7 +260,7 @@ DELETE FROM ' . $this->authTable . ' WHERE - auth_user_id = ' . $this->dbc->quote($authId, $this->authTableCols['required']['user_id']['type']); + auth_user_id = ' . $this->dbc->quote($authId, $this->authTableCols['required']['auth_user_id']['type']); $result = $this->dbc->query($query); @@ -338,8 +338,8 @@ } $query .= ' WHERE - ' . $this->authTableCols['required']['user_id']['name'] . '=' - . $this->dbc->quote($authId, $this->authTableCols['required']['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); @@ -465,7 +465,7 @@ // First: Get all data from auth table. $query = ' SELECT - ' . $this->authTableCols['required']['user_id']['name'] . ' AS auth_user_id, + ' . $this->authTableCols['required']['auth_user_id']['name'] . ' AS auth_user_id, ' . $this->authTableCols['required']['handle']['name'] . ' AS handle, ' . $this->authTableCols['required']['passwd']['name'] . ' AS passwd ' . $fields . ' @@ -475,7 +475,7 @@ . $order; $types = array( - $this->authTableCols['required']['user_id']['type'], + $this->authTableCols['required']['auth_user_id']['type'], $this->authTableCols['required']['handle']['type'], $this->authTableCols['required']['passwd']['type'], );
« previous php.pear.cvs (#20598) next »