mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Refactor random::TYPE_* Constants
This commit is contained in:
@@ -48,7 +48,7 @@ $list['export_name'] = $exportname . '.zip';
|
||||
|
||||
$endDate = new DateTime('+3 hours');
|
||||
|
||||
$url = random::getUrlToken('download', $session->get_usr_id(), $endDate, serialize($list));
|
||||
$url = random::getUrlToken(\random::TYPE_DOWNLOAD, $session->get_usr_id(), $endDate, serialize($list));
|
||||
|
||||
if ($url)
|
||||
{
|
||||
|
Reference in New Issue
Block a user