mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: developer emails not working on ruby 2.0
This commit is contained in:
@@ -47,7 +47,7 @@ Discourse::Application.configure do
|
|||||||
require 'rbtrace'
|
require 'rbtrace'
|
||||||
|
|
||||||
if emails = GlobalSetting.developer_emails
|
if emails = GlobalSetting.developer_emails
|
||||||
config.developer_emails = emails.split(",").map(&:strip!)
|
config.developer_emails = emails.split(",").map(&:strip)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ Discourse::Application.configure do
|
|||||||
# developers have god like rights and may impersonate anyone in the system
|
# developers have god like rights and may impersonate anyone in the system
|
||||||
# normal admins may only impersonate other moderators (not admins)
|
# normal admins may only impersonate other moderators (not admins)
|
||||||
if emails = GlobalSetting.developer_emails
|
if emails = GlobalSetting.developer_emails
|
||||||
config.developer_emails = emails.split(",").map(&:strip!)
|
config.developer_emails = emails.split(",").map(&:strip)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user