From 1f5fd0b721caf8efbd765072c87c0cdf2aead714 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 30 Mar 2009 13:52:58 +0000 Subject: [PATCH] Prevent incomplete backups stored if option "store and download" is selected and admin cancel download by removing the option. (Bug #20325) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9417 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/style/acp_database.html | 4 ++-- phpBB/docs/CHANGELOG.html | 1 + phpBB/includes/acp/acp_database.php | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/phpBB/adm/style/acp_database.html b/phpBB/adm/style/acp_database.html index ebc76c36a3..e839fb1bda 100644 --- a/phpBB/adm/style/acp_database.html +++ b/phpBB/adm/style/acp_database.html @@ -70,8 +70,8 @@
-
- +
+
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 16b4759fd7..d13506b598 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -133,6 +133,7 @@
  • [Fix] Correctly count topic views for guests visiting the website the first time by entering the topic directly (Bug #43445)
  • [Fix] Fix bug in postgresql db layer for LIMIT ALL clauses (reported by JRSweets)
  • [Fix] Sort backups by date, newest first (Bug #14818)
  • +
  • [Fix] Prevent incomplete backups stored if option "store and download" is selected and admin cancel download by removing the option. (Bug #20325)
  • [Change] Allow download of conflicting file for later reference in automatic updater
  • [Change] Default difference view is now 'inline' instead of 'side by side'
  • [Change] Added new option for merging differences to conflicting files in automatic updater
  • diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php index 06425c4a1e..856b867c9a 100644 --- a/phpBB/includes/acp/acp_database.php +++ b/phpBB/includes/acp/acp_database.php @@ -82,6 +82,7 @@ class acp_database } @set_time_limit(1200); + @set_time_limit(0); $time = time(); @@ -555,6 +556,7 @@ class base_extractor function write_end() { static $close; + if ($this->store) { if ($close === null)