mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +00:00
14 lines
401 B
PHP
14 lines
401 B
PHP
<?
|
|
authorize();
|
|
if ($_REQUEST['collageid'] && is_number($_REQUEST['collageid'])) {
|
|
$Where = ' AND CollageID = '.$_REQUEST['collageid'];
|
|
} else {
|
|
$Where = '';
|
|
}
|
|
|
|
$DB->query("UPDATE users_collage_subs SET LastVisit = NOW() WHERE UserID = ".$LoggedUser['ID'].$Where);
|
|
$Cache->delete_value('collage_subs_user_new_'.$LoggedUser['ID']);
|
|
|
|
header('Location: userhistory.php?action=subscribed_collages');
|
|
?>
|