Refactor random::TYPE_* Constants

This commit is contained in:
Romain Neutron
2012-03-09 15:12:23 +01:00
parent 8761e04eda
commit d79c13f8c2
9 changed files with 17 additions and 15 deletions

View File

@@ -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);