Commit 2f92810c authored by fufroma's avatar fufroma
Browse files

Merge branch 'master' of

parents 92bee77f e79d6d65
......@@ -108,7 +108,7 @@ class m_upnp {
/** cron launched every minute to check the status of UPnP forwarding
function cron() {
global $hooks,$L_INTERNAL_IP,$PUBLIC_IP;
global $hooks,$db,$L_INTERNAL_IP,$PUBLIC_IP;
// if we check anything less than 5 minutes ago, or if the upnp table is empty, let's make a check...
$db->query("SELECT UNIX_TIMESTAMP(lastcheck) AS lc, * FROM upnp ORDER BY lastcheck ASC;");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment