[*] Project: MySQL::trytoconnect() and MySQL::tryUTF8() methods replaced with Db::checkConnection() and Db::checkEncoding()

This commit is contained in:
rMalie
2011-09-07 08:16:43 +00:00
parent 708cdfd2ff
commit 59746748a3
5 changed files with 151 additions and 41 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ class ToolsInstall
return 8;
}
switch(MySQL::tryToConnect(trim($srv), trim($login), trim($password), trim($name)))
switch (Db::checkConnection(trim($srv), trim($login), trim($password), trim($name)))
{
case 0:
if (MySQL::tryUTF8(trim($srv), trim($login), trim($password)))