diff --git a/framework/router.class.php b/framework/router.class.php index f4bf431e66..6dcef42bbe 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -1463,7 +1463,7 @@ class router * Connect to database. * * @access public - * @return object|bool the database handler. + * @return void */ public function connectDB() { diff --git a/www/install.php b/www/install.php index a92ae63cc7..7ef60c07db 100644 --- a/www/install.php +++ b/www/install.php @@ -32,7 +32,7 @@ $config->set('default.module', 'install'); $app->setDebug(); /* During the installation, if the database params is setted, auto connect the db. */ -if(isset($config->installed) and $config->installed) $dbh = $app->connectDB(); +if(isset($config->installed) and $config->installed) $app->connectDB(); $app->parseRequest(); $app->loadModule();