diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index ad6f08d8c1..a5b1aefb97 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -1,16 +1,22 @@ - * @copyright (c) 2003-10 by Ralf Becker + * @copyright (c) 2003-12 by Ralf Becker * @version $Id$ */ +if(empty($GLOBALS['egw_info']['server']['db_type'])) +{ + $GLOBALS['egw_info']['server']['db_type'] = 'mysql'; +} +include_once(EGW_API_INC.'/adodb/adodb.inc.php'); + /** * Database abstraction library * @@ -45,13 +51,6 @@ * echo "Connection to DB failed (".$e->getMessage().")!\n"; * } */ - -if(empty($GLOBALS['egw_info']['server']['db_type'])) -{ - $GLOBALS['egw_info']['server']['db_type'] = 'mysql'; -} -include_once(EGW_API_INC.'/adodb/adodb.inc.php'); - class egw_db { /** @@ -103,11 +102,6 @@ class egw_db */ var $Password = ''; - /** - * @var int $Auto_Free automatically free results - 0 no, 1 yes - */ - var $Auto_Free = 0; - /** * @var int $Debug enable debuging - 0 no, 1 yes */ @@ -146,9 +140,6 @@ class egw_db */ var $query_log; - //i am not documenting private vars - skwashd :) - var $xmlrpc = False; - var $soap = False; /** * ADOdb connection *