Merge branch 'master' of ssh://kyberia.cz/srv/git/kyberia-bloodline
[mirrors/Kyberia-bloodline.git] / cron / logoutidle.php
CommitLineData
b42b2bf9
H
1#!/usr/bin/php
2<?php
d4e006f9 3
4//XXX fix full path
5require('/storage/system/www-docroot/kyberia/config/config.inc');
6
b42b2bf9 7//require(SYSTEM_ROOT.'/inc/log.inc');
d4e006f9 8require(SYSTEM_ROOT.'/inc/database.inc');
b42b2bf9 9//require(SYSTEM_ROOT.'/inc/nodes.inc');
b42b2bf9
H
10$db=new CLASS_DATABASE();
11$db->query("update users set user_action=NULL,user_action_id=NULL,user_location_vector=NULL where unix_timestamp()-3600>unix_timestamp(last_action)");
12?>
This page took 0.215657 seconds and 4 git commands to generate.