// Merge -> revision 8114

This commit is contained in:
rMalie
2011-08-19 09:46:12 +00:00
parent 8e5e085d33
commit fd25111d74
12 changed files with 50 additions and 19 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ class MCachedCore extends Cache
public static function addServer($ip, $port, $weight)
{
return Db::getInstance()->Execute('INSERT INTO '._DB_PREFIX_.'memcached_servers (id_memcached_server, ip, port, weight) VALUES(\'\', \''.pSQL($ip).'\', '.(int)$port.', '.(int)$weight.')', false);
return Db::getInstance()->Execute('INSERT INTO '._DB_PREFIX_.'memcached_servers (ip, port, weight) VALUES(\''.pSQL($ip).'\', '.(int)$port.', '.(int)$weight.')', false);
}
public static function getMemcachedServers()