discourse/db/migrate/20160303183607_clear_common_passwords_cache.rb
Joffrey JAFFEUX 5cb00d5528 DEV: s/\$redis/Discourse\.redis
With manual merge conflicts
2019-12-03 14:26:57 +01:00

10 lines
230 B
Ruby

# frozen_string_literal: true
require "common_passwords/common_passwords"
class ClearCommonPasswordsCache < ActiveRecord::Migration[4.2]
def change
Discourse.redis.without_namespace.del CommonPasswords::LIST_KEY
end
end