mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 19:26:53 +02:00
[ticket/12778] Automatically delete files on update
PHPBB3-12778
This commit is contained in:
@ -1063,6 +1063,14 @@ class install_update extends module
|
|||||||
$transfer->write_file($file_struct['filename'], $contents);
|
$transfer->write_file($file_struct['filename'], $contents);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'deleted':
|
||||||
|
|
||||||
|
if ($update_mode != 'download')
|
||||||
|
{
|
||||||
|
$transfer->delete_file($file_struct['filename']);
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user