mirror of
https://github.com/neocities/neocities.git
synced 2025-08-04 16:51:36 +02:00
use purge_all_cache instread of delete_all_cache
This commit is contained in:
parent
4c3daea4a8
commit
7b9107393b
3 changed files with 7 additions and 11 deletions
|
@ -92,8 +92,8 @@ post '/settings/:username/change_name' do
|
|||
}
|
||||
|
||||
old_site.delete_all_thumbnails_and_screenshots
|
||||
old_site.delete_all_cache
|
||||
@site.delete_all_cache
|
||||
old_site.purge_all_cache
|
||||
@site.purge_all_cache
|
||||
@site.regenerate_thumbnails_and_screenshots
|
||||
|
||||
flash[:success] = "Site/user name has been changed. You will need to use this name to login, <b>don't forget it!</b>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue