summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-09 04:12:52 -0500
committerPeter Kozak <spag@golwen.net>2013-03-09 04:12:52 -0500
commit4d11efbd7b0dc1c7e89210a56ea5ca77fe801c7e (patch)
tree078adfb263f57fa03352d64619a72de1c5727041
parent8db92444c2dd7054c2de09a2068a4b2209b01887 (diff)
send perimeter event after_save
-rw-r--r--app/models/intruder.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/intruder.rb b/app/models/intruder.rb
index 97120a7..9c01634 100644
--- a/app/models/intruder.rb
+++ b/app/models/intruder.rb
@@ -119,6 +119,7 @@ class Intruder < ActiveRecord::Base
write_firewall_list
restart_firewall
end
+ self.perimeter_db_rescan
end
end
@@ -129,6 +130,7 @@ class Intruder < ActiveRecord::Base
restart_firewall
end
end
+ self.perimeter_db_rescan
end
def check_if_delete_relevant
@@ -138,5 +140,6 @@ class Intruder < ActiveRecord::Base
restart_firewall
end
end
+ self.perimeter_db_rescan
end
end