art-web r538 - branches/art-hub



Author: thos
Date: Tue Jun 17 20:03:37 2008
New Revision: 538
URL: http://svn.gnome.org/viewvc/art-web?rev=538&view=rev

Log:
* Remove some old stuff from download handler


Modified:
   branches/art-hub/download

Modified: branches/art-hub/download
==============================================================================
--- branches/art-hub/download	(original)
+++ branches/art-hub/download	Tue Jun 17 20:03:37 2008
@@ -32,14 +32,8 @@
 	header("Location: $mirror_url$archive/themes/$category/$filename");
 	exit();
 }
-else if($section == "contest")
-{
-	$theme_update_result = mysql_query("UPDATE contest SET download_count=download_count+1 WHERE contestID='$download_num'");
-	header("Location: $mirror_url/contests/$category/$filename");
-	exit();
-}
 else
 {
-	header("Location: /index.php");
+	header("Location: /");
 	exit();
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]