From e4a0d39f734085fdbc4897e42a765f9415d22d3e Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 21 Feb 2013 22:49:03 -0800 Subject: Moved isCurrentMap function. --- do.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'do.php') diff --git a/do.php b/do.php index b999e52..48a2fb1 100644 --- a/do.php +++ b/do.php @@ -368,19 +368,6 @@ $json['error'][] = 'Rush-send failed'; die(json_encode($json)); -function isCurrentMap($mapID) { - include_once('./includes/sqlEmbedded.php'); - $sql = "SELECT mapID - FROM `mapOfTheDay` - WHERE `mapID` = '$mapID' - AND mapExpireTime > NOW() - LIMIT 1 - "; - - $result = mysql_query($sql) or die(mysql_error()); - return (mysql_num_rows($result) != 0); -} - //Very simple, confirm that all targets are reachable. function ValidateMap($mygrid) { $start = "0,1."; -- cgit v1.2.3