// Missing param in MySQL::tryToConnect

This commit is contained in:
dMetzger committed 2012-08-16 07:10:41 +00:00
1 parent 295d79e22f
commit 3ecb0fe993
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ class MySQLCore extends Db
/**
* @see Db::checkConnection()
*/
public static function tryToConnect($server, $user, $pwd, $db, $newDbLink = true, $engine = null)
public static function tryToConnect($server, $user, $pwd, $db, $newDbLink = true, $engine = null, $timeout = 5)
{
ini_set('mysql.connect_timeout', $timeout);
if (!$link = @mysql_connect($server, $user, $pwd, $newDbLink))