1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

ok, fought #14735 with the help from paul.

git-svn-id: file:///svn/phpbb/trunk@8189 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-10-14 21:26:07 +00:00
parent b3dbe946cd
commit 15dcba000d
2 changed files with 18 additions and 11 deletions

View File

@@ -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;