From 68a3fd5ef067f72047ea45486a8a1bbacca6f488 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 30 Aug 2014 09:07:17 +1000 Subject: [PATCH] FIX: developer emails not working on ruby 2.0 --- config/environments/development.rb | 2 +- config/environments/production.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 8ed39bf6de5..57c8b2a96ec 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -47,7 +47,7 @@ Discourse::Application.configure do require 'rbtrace' if emails = GlobalSetting.developer_emails - config.developer_emails = emails.split(",").map(&:strip!) + config.developer_emails = emails.split(",").map(&:strip) end end diff --git a/config/environments/production.rb b/config/environments/production.rb index 3a8b992a8ee..927bb8b60ee 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -61,7 +61,7 @@ Discourse::Application.configure do # developers have god like rights and may impersonate anyone in the system # normal admins may only impersonate other moderators (not admins) if emails = GlobalSetting.developer_emails - config.developer_emails = emails.split(",").map(&:strip!) + config.developer_emails = emails.split(",").map(&:strip) end end