cvs: pear /LiveUser_Admin/Storage DB.php MDB.php MDB2.php
| From: | Lukas Smith | Date: | Tue, 07 Jun 2005 13:07:47 +0000 |
| Subject: | cvs: pear /LiveUser_Admin/Storage DB.php MDB.php MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32405@lists.php.net to get a copy of this message | ||
lsmith Tue Jun 7 09:07:47 2005 EDT
Modified files:
/pear/LiveUser_Admin/Storage MDB2.php MDB.php DB.php
Log:
- universal implementation of disconnect was added to SQL.php
http://cvs.php.net/diff.php/pear/LiveUser_Admin/Storage/MDB2.php?r1=1.15&r2=1.16&ty=u
Index: pear/LiveUser_Admin/Storage/MDB2.php
diff -u pear/LiveUser_Admin/Storage/MDB2.php:1.15 pear/LiveUser_Admin/Storage/MDB2.php:1.16
--- pear/LiveUser_Admin/Storage/MDB2.php:1.15 Fri May 6 08:25:43 2005
+++ pear/LiveUser_Admin/Storage/MDB2.php Tue Jun 7 09:07:47 2005
@@ -57,7 +57,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: MDB2.php,v 1.15 2005/05/06 12:25:43 dufuz Exp $
+ * @version CVS: $Id: MDB2.php,v 1.16 2005/06/07 13:07:47 lsmith Exp $
* @link http://pear.php.net/LiveUser_Admin
*/
@@ -406,25 +406,5 @@
}
return $result;
}
-
- /**
- *
- * @return mixed false on error or the result
- *
- * @access public
- * @uses MDB2::disconnect
- */
- function disconnect()
- {
- $result = $this->dbc->disconnect();
- if (PEAR::isError($result)) {
- $this->_stack->push(
- LIVEUSER_ADMIN_ERROR_QUERY_BUILDER, 'exception',
- array('reason' => $result->getMessage() . '-' .
$result->getUserInfo())
- );
- return false;
- }
- return $result;
- }
}
?>
http://cvs.php.net/diff.php/pear/LiveUser_Admin/Storage/MDB.php?r1=1.11&r2=1.12&ty=u
Index: pear/LiveUser_Admin/Storage/MDB.php
diff -u pear/LiveUser_Admin/Storage/MDB.php:1.11 pear/LiveUser_Admin/Storage/MDB.php:1.12
--- pear/LiveUser_Admin/Storage/MDB.php:1.11 Fri May 6 08:25:43 2005
+++ pear/LiveUser_Admin/Storage/MDB.php Tue Jun 7 09:07:47 2005
@@ -57,7 +57,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version $Id: MDB.php,v 1.11 2005/05/06 12:25:43 dufuz Exp $
+ * @version $Id: MDB.php,v 1.12 2005/06/07 13:07:47 lsmith Exp $
* @link http://pear.php.net/LiveUser_Admin
*/
@@ -402,25 +402,5 @@
{
return $id;
}
-
- /**
- *
- * @return mixed false on error or the result
- *
- * @access public
- * @uses MDB::disconnect
- */
- function disconnect()
- {
- $result = $this->dbc->disconnect();
- if (PEAR::isError($result)) {
- $this->_stack->push(
- LIVEUSER_ADMIN_ERROR_QUERY_BUILDER, 'exception',
- array('reason' => $result->getMessage() . '-' .
$result->getUserInfo())
- );
- return false;
- }
- return $result;
- }
}
?>
http://cvs.php.net/diff.php/pear/LiveUser_Admin/Storage/DB.php?r1=1.11&r2=1.12&ty=u
Index: pear/LiveUser_Admin/Storage/DB.php
diff -u pear/LiveUser_Admin/Storage/DB.php:1.11 pear/LiveUser_Admin/Storage/DB.php:1.12
--- pear/LiveUser_Admin/Storage/DB.php:1.11 Fri May 6 08:25:43 2005
+++ pear/LiveUser_Admin/Storage/DB.php Tue Jun 7 09:07:47 2005
@@ -57,7 +57,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: DB.php,v 1.11 2005/05/06 12:25:43 dufuz Exp $
+ * @version CVS: $Id: DB.php,v 1.12 2005/06/07 13:07:47 lsmith Exp $
* @link http://pear.php.net/LiveUser_Admin
*/
@@ -394,25 +394,5 @@
{
return $id;
}
-
- /**
- *
- * @return mixed false on error or the result
- *
- * @access public
- * @uses DB::disconnect
- */
- function disconnect()
- {
- $result = $this->dbc->disconnect();
- if (PEAR::isError($result)) {
- $this->_stack->push(
- LIVEUSER_ADMIN_ERROR_QUERY_BUILDER, 'exception',
- array('reason' => $result->getMessage() . '-' .
$result->getUserInfo())
- );
- return false;
- }
- return $result;
- }
}
?>