aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_calendar.inc.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-08-07 17:57:00 +0000
committerz0rglub <z0rglub@piwigo.org>2004-08-07 17:57:00 +0000
commit45d2c68d5806b7d5912670ea1deecffa60c32782 (patch)
tree52618d38da5a444bb33da6771cee49c11cb7d113 /include/category_calendar.inc.php
parentb7f4e3ab3f142579692940f8c3c74979c8bd2cb8 (diff)
deletion of debug traces
git-svn-id: http://piwigo.org/svn/trunk@480 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_calendar.inc.php')
-rw-r--r--include/category_calendar.inc.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/category_calendar.inc.php b/include/category_calendar.inc.php
index 6ce68f31d..20ccd1a16 100644
--- a/include/category_calendar.inc.php
+++ b/include/category_calendar.inc.php
@@ -39,7 +39,6 @@ SELECT YEAR(date_available) AS year, COUNT(id) AS count
AND id = image_id
GROUP BY year
;';
-// echo '<pre>'.$query.'</pre>';
$result = mysql_query($query);
$calendar_years = array();
while ($row = mysql_fetch_array($result))
@@ -164,7 +163,6 @@ SELECT DISTINCT(date_available) AS day, COUNT(id) AS count
AND MONTH(date_available) = '.$page['calendar_month'].'
GROUP BY day
;';
- echo '<pre>'.$query.'</pre>';
$result = mysql_query($query);
$calendar_days = array();
while ($row = mysql_fetch_array($result))
@@ -189,7 +187,6 @@ SELECT category_id AS category, COUNT(id) AS count
AND id = image_id
GROUP BY category_id
;';
-// echo '<pre>'.$query.'</pre>';
$result = mysql_query($query);
$calendar_categories = array();
// special category 0 : gathering all available categories (0 cannot be a
@@ -288,7 +285,6 @@ SELECT file,tn_ext,date_available,storage_category_id
ORDER BY RAND()
LIMIT 0,1
;';
-// echo '<pre>'.$query.'</pre>';
$row = mysql_fetch_array(mysql_query($query));
$file = get_filename_wo_extension($row['file']);