public function Redis_Path_Predis::deleteAlias in Redis 7.2
Alias is being deleted for the given source
Parameters
string $source:
string $alias:
string $language:
Overrides Redis_Path_HashLookupInterface::deleteAlias
File
- lib/
Redis/ Path/ Predis.php, line 77
Class
- Redis_Path_Predis
- PhpRedis implementation.
Code
public function deleteAlias($source, $alias, $language = null) {
if (null === $language) {
$language = LANGUAGE_NONE;
}
$this
->deleteInHash($this
->getKey(self::KEY_ALIAS, $language), $source, $alias);
$this
->deleteInHash($this
->getKey(self::KEY_SOURCE, $language), $alias, $source);
}