mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 19:28:53 +00:00
Merge pull request #4055 from CHItA/ticket/14326
[ticket/14326] Decode diffed file's content during update
This commit is contained in:
commit
5d0e8eaf09
2 changed files with 6 additions and 6 deletions
|
@ -100,7 +100,7 @@ class show_file_status extends task_base
|
|||
{
|
||||
$this->file_updater->create_new_file(
|
||||
$filename,
|
||||
$this->cache->get('_file_' . md5($filename)),
|
||||
base64_decode($this->cache->get('_file_' . md5($filename))),
|
||||
true
|
||||
);
|
||||
}
|
||||
|
|
|
@ -174,7 +174,7 @@ class update_files extends task_base
|
|||
case 'update_with_diff':
|
||||
$this->file_updater->update_file(
|
||||
$path,
|
||||
$this->cache->get('_file_' . md5($path)),
|
||||
base64_decode($this->cache->get('_file_' . md5($path))),
|
||||
true
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue