mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13:26 +00:00
Refactor random::TYPE_* Constants
This commit is contained in:
@@ -466,7 +466,7 @@ class User_Adapter implements User_Interface, cache_cacheableInterface
|
||||
}
|
||||
if ($token === false)
|
||||
{
|
||||
$token = random::getUrlToken('rss', $this->id);
|
||||
$token = random::getUrlToken(\random::TYPE_RSS, $this->id);
|
||||
}
|
||||
|
||||
return new system_url($registry->get('GV_ServerName') . 'atom/' . $token);
|
||||
|
Reference in New Issue
Block a user