Checking database with ping

Hi,

in version 7.6.1 there is a database check with a ping (icmp rigth?). You can find it in include/database/DBManager.php:


/**
* Checks the current connection; if it is not connected then reconnect
*/
public function checkConnection()
{
$this->last_error = ‘’;
if (!isset($this->database)) {
$this->connect();
}else{
try {
$this->database->ping();
}catch(Exception $ex){
unset($this->database);
$this->connect();
}
}
}

The ping is very annoying (BTW: was not in there in 7.4.3). There are quite a view common environments where the ping does not work - and the program stops working. A bit funny is the situation during an installation:

You enter all the params for the database and admin setting. Then hit “Next” and the installer will not continue - no problems will be mentioned. The database connection is ok but the following ping fails.

Please remove this.

– Andreas