Skip to content

A platform for community discussion. Free, open, simple.

Code styling fix

Penar Musaraj77fda4dc0047
diff --git a/db/migrate/20190110142917_enable_content_security_policy_for_new_sites.rb b/db/migrate/20190110142917_enable_content_security_policy_for_new_sites.rb
index 396b5147116..bf7af9faecc 100644
--- a/db/migrate/20190110142917_enable_content_security_policy_for_new_sites.rb
+++ b/db/migrate/20190110142917_enable_content_security_policy_for_new_sites.rb
@@ -14,7 +14,7 @@ class EnableContentSecurityPolicyForNewSites < ActiveRecord::Migration[5.2]
end
def row_exists?
- return DB.query("SELECT 1 AS one FROM site_settings where name='content_security_policy'").present?
+ DB.query("SELECT 1 AS one FROM site_settings where name='content_security_policy'").present?
end
def instance_is_new?