diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-14 21:26:07 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-14 21:26:07 +0000 |
commit | 15dcba000da61ff9212f0acf9a1a31732d836399 (patch) | |
tree | 079e0ca29d18fe9b8aa0b7f3789232cca10a7582 /phpBB/install | |
parent | b3dbe946cd7a08bef28da98aee5859c4cb4afc67 (diff) | |
download | forums-15dcba000da61ff9212f0acf9a1a31732d836399.tar forums-15dcba000da61ff9212f0acf9a1a31732d836399.tar.gz forums-15dcba000da61ff9212f0acf9a1a31732d836399.tar.bz2 forums-15dcba000da61ff9212f0acf9a1a31732d836399.tar.xz forums-15dcba000da61ff9212f0acf9a1a31732d836399.zip |
ok, fought #14735 with the help from paul.
git-svn-id: file:///svn/phpbb/trunk@8189 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/install_update.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index 36cb806ca6..320747b60b 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -321,7 +321,7 @@ class install_update extends module $get_new_list = true; } - if (!$get_new_list && $update_list['status'] != 'finished') + if (!$get_new_list && $update_list['status'] != -1) { $get_new_list = true; } @@ -332,7 +332,7 @@ class install_update extends module $cache->put('_update_list', $update_list); // Refresh the page if we are still not finished... - if ($update_list['status'] != 'finished') + if ($update_list['status'] != -1) { $refresh_url = append_sid($this->p_master->module_url, "mode=$mode&sub=file_check"); meta_refresh(2, $refresh_url); @@ -604,9 +604,9 @@ class install_update extends module // Before we do anything, let us diff the files and store the raw file information "somewhere" $get_files = false; - $file_list = $cache->get('_diff_files'); + $file_list = false; //$cache->get('_diff_files'); - if ($file_list === false || $file_list['status'] != 'finished') + if ($file_list === false || $file_list['status'] != -1) { $get_files = true; } @@ -747,7 +747,7 @@ class install_update extends module } } - $file_list['status'] = 'finished'; + $file_list['status'] = -1; $cache->put('_diff_files', $file_list); if (!empty($_REQUEST['download'])) @@ -1291,7 +1291,7 @@ class install_update extends module $update_list['status']++; } - $update_list['status'] = 'finished'; + $update_list['status'] = -1; /* if (!sizeof($this->update_info['files'])) { return $update_list; |