diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-26 16:53:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-26 16:53:06 +0200 |
commit | b378b4c5c7e99de2c14e39e2733a745689de8ad1 (patch) | |
tree | a393ed521b974921e1819cee3d40fd82a4cdf06d /lib/mastodon/cli_helper.rb | |
parent | 5129f6f2aa56afb21708aec552a798d062ccaff9 (diff) |
Add CLI interface for importing custom emoji (#8437)
bin/tootctl emoji import PATH_TO_TAR Fix #8435
Diffstat (limited to 'lib/mastodon/cli_helper.rb')
-rw-r--r-- | lib/mastodon/cli_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/mastodon/cli_helper.rb b/lib/mastodon/cli_helper.rb new file mode 100644 index 000000000..8c4d9731c --- /dev/null +++ b/lib/mastodon/cli_helper.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +dev_null = Logger.new('/dev/null') + +Rails.logger = dev_null +ActiveRecord::Base.logger = dev_null +HttpLog.configuration.logger = dev_null +Paperclip.options[:log] = false |