Gazelle/sections/userhistory/catchup_collages.php

14 lines
401 B
PHP
Raw Normal View History

<?
authorize();
2011-10-30 08:00:11 +00:00
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']);
2011-10-30 08:00:11 +00:00
header('Location: userhistory.php?action=subscribed_collages');
?>