about summary refs log tree commit diff
path: root/app/controllers/admin/subscriptions_controller.rb
diff options
context:
space:
mode:
authorJoseph Mingrone <Jehops@users.noreply.github.com>2017-09-06 22:55:06 -0300
committerEugen Rochko <eugen@zeonfederated.com>2017-09-07 03:55:06 +0200
commit526449624014f7ec80f6f14570ef17d482019483 (patch)
tree147c061657c68093c6538a6013be3cb13c908b01 /app/controllers/admin/subscriptions_controller.rb
parentbe75b13d6848df36497296a609fa3ae4cb8c829f (diff)
Use casecmp() instead of casecmp?() for now (#4832)
* Use casecmp() instead of casecmp?() for now

casecmp?() is only available in ruby 2.4.0.  Users running earlier ruby versions
would see errors, e.g., running
RAILS_ENV=production rails mastodon:maintenance:remove_deprecated_preview_cards.

* Correctly check whether casecmp() returns 0
Diffstat (limited to 'app/controllers/admin/subscriptions_controller.rb')
0 files changed, 0 insertions, 0 deletions