[*] Project: MySQL::trytoconnect() and MySQL::tryUTF8() methods replaced with Db::checkConnection() and Db::checkEncoding()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8380 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user