mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 11:56:25 +00:00
8 lines
268 B
PHP
8 lines
268 B
PHP
|
<?
|
||
|
if(in_array($_GET['stat'], array('inbox', 'uploads', 'bookmarks', 'notifications', 'subscriptions', 'comments', 'friends'))) {
|
||
|
$Cache->begin_transaction('stats_links');
|
||
|
$Cache->update_row(false, array($_GET['stat'] => '+1'));
|
||
|
$Cache->commit_transaction(0);
|
||
|
}
|
||
|
?>
|