public function Redis_Path_Predis::deleteLanguage in Redis 7.2
Same name and namespace in other branches
- 7.3 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 87
Class
- Redis_Path_Predis
- PhpRedis implementation.
Code
public function deleteLanguage($language) {
$client = Redis_Client::getClient();
$client
->del($this
->getKey(self::KEY_ALIAS, $language));
$client
->del($this
->getKey(self::KEY_SOURCE, $language));
}