diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-05 16:14:02 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-05 16:14:02 -0500 |
commit | db7adebdd4b9d9674a18337e5d35e88e64e60618 (patch) | |
tree | 7c9c9f7465b0411a89ae5de46f22a52dc9b1fe4d | |
parent | 6c4ea65b25b7436027385824f33a0d0afe84ea7b (diff) | |
download | fourisland-db7adebdd4b9d9674a18337e5d35e88e64e60618.tar.gz fourisland-db7adebdd4b9d9674a18337e5d35e88e64e60618.tar.bz2 fourisland-db7adebdd4b9d9674a18337e5d35e88e64e60618.zip |
Disabled pending queue on Saturdays
Saturday is Four Island's weekly poll day, so normal articles should not be posted on that day.
-rwxr-xr-x | includes/updatePending.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/updatePending.php b/includes/updatePending.php index a96a2b6..6e9ff06 100755 --- a/includes/updatePending.php +++ b/includes/updatePending.php | |||
@@ -24,7 +24,7 @@ require('headerproc.php'); | |||
24 | 24 | ||
25 | //$disablePendingQueue = 1; // Use this when Four Island goes down | 25 | //$disablePendingQueue = 1; // Use this when Four Island goes down |
26 | 26 | ||
27 | if (!isset($disablePendingQueue)) | 27 | if ((!isset($disablePendingQueue)) && (date('j') != 'Sat')) |
28 | { | 28 | { |
29 | $gettime = "SELECT * FROM config WHERE name = \"lastUpdate\""; | 29 | $gettime = "SELECT * FROM config WHERE name = \"lastUpdate\""; |
30 | $gettime2 = mysql_query($gettime); | 30 | $gettime2 = mysql_query($gettime); |