mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
only try to delete redis entries if they're set from domain
This commit is contained in:
parent
9b954f086e
commit
36765afb5c
1 changed files with 2 additions and 2 deletions
|
@ -1031,8 +1031,8 @@ class Site < Sequel::Model
|
|||
|
||||
if is_deleted
|
||||
$redis_proxy.del u_key
|
||||
$redis_proxy.del d_root_key
|
||||
$redis_proxy.del d_www_key
|
||||
$redis_proxy.del(d_root_key) if defined?(d_root_key)
|
||||
$redis_proxy.del(d_www_key) if defined?(d_www_key)
|
||||
end
|
||||
|
||||
true
|
||||
|
|
Loading…
Add table
Reference in a new issue