public function Redis_Path_Predis::deleteLanguage in Redis 7.3
Same name and namespace in other branches
- 7.2 lib/Redis/Path/Predis.php \Redis_Path_Predis::deleteLanguage()
A language is being deleted
Parameters
string $language:
Overrides Redis_Path_HashLookupInterface::deleteLanguage
File
- lib/
Redis/ Path/ Predis.php, line 102
Class
- Redis_Path_Predis
- PhpRedis implementation.
Code
public function deleteLanguage($language) {
$client = $this
->getClient();
$client
->del($this
->getKey(array(
self::KEY_ALIAS,
$language,
)));
$client
->del($this
->getKey(array(
self::KEY_SOURCE,
$language,
)));
}