disable display of notice if its not possible to reach memcache server

This commit is contained in:
Nicolas Le Goff
2012-02-28 17:37:43 +01:00
parent 1b90cf387f
commit ef95c197bc

View File

@@ -729,7 +729,7 @@ class module_console_fileEnsureProductionSetting extends Command
return false;
break;
case 'memcache':
if (!memcache_connect($Service->getHost(), $Service->getPort()))
if (!@memcache_connect($Service->getHost(), $Service->getPort()))
{
return false;
}