summary refs log tree commit diff stats
path: root/includes/updatePending.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-05 16:14:02 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-05 16:14:02 -0500
commitdb7adebdd4b9d9674a18337e5d35e88e64e60618 (patch)
tree7c9c9f7465b0411a89ae5de46f22a52dc9b1fe4d /includes/updatePending.php
parent6c4ea65b25b7436027385824f33a0d0afe84ea7b (diff)
downloadfourisland-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.
Diffstat (limited to 'includes/updatePending.php')
-rwxr-xr-xincludes/updatePending.php2
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
27if (!isset($disablePendingQueue)) 27if ((!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);