public function Redis_Path_PhpRedis::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/ PhpRedis.php, line 77
Class
- Redis_Path_PhpRedis
- 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);
}