mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 00:02:00 +02:00
improvements to admin interface
This commit is contained in:
parent
32ddc97a95
commit
dc0bf88392
4 changed files with 42 additions and 50 deletions
|
@ -455,7 +455,7 @@ class Site < Sequel::Model
|
|||
|
||||
DB.transaction {
|
||||
self.is_banned = true
|
||||
self.updated_at = Time.now
|
||||
self.banned_at = Time.now
|
||||
save(validate: false)
|
||||
|
||||
if !Dir.exist? BANNED_SITES_ROOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue