Example #1
0
function handle_get_user_list($type, $from, $data, $res)
{
    _update_users_claims($res, $from, false);
    _update_anons_to_pie($res, $from);
}
Example #2
0
function _decrease_anons($res, $from)
{
    global $connection;
    pg_query($connection, 'UPDATE pies SET anons=anons-1 WHERE id = ' . $from->pieid);
    _update_anons_to_pie($res, $from);
}