summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-15 20:44:17 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-15 20:44:17 +0000
commit883a1d60d3993f606131108d8c5675617d94bc82 (patch)
tree213d9af47987ef68608217acc20bcd2726e9304b /lib/class/update.class.php
parent43cc00bb87743334aab8743eef056303ec126e1a (diff)
downloadampache-883a1d60d3993f606131108d8c5675617d94bc82.tar.gz
ampache-883a1d60d3993f606131108d8c5675617d94bc82.tar.bz2
ampache-883a1d60d3993f606131108d8c5675617d94bc82.zip
speed up amazon gather and fixed some logic issues, and switched to disks for the download icons
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index a11108fe..9f9bbd7d 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -1709,6 +1709,9 @@ class Update {
/* Clean Up Indexes */
+ // Prevent the script from timing out
+ set_time_limit(0);
+
// Access List
$sql = "ALTER TABLE `access_list` DROP INDEX `ip`";
$db_results = mysql_query($sql, dbh());
@@ -2004,6 +2007,7 @@ class Update {
// Prevent the script from timing out
set_time_limit(0);
+
/* Foreach through the old stuff and dump it back into the fresh table */
foreach ($results as $row) {