fix typo at lib/tasks/ciphering.rake

git-svn-id: http://svn.redmine.org/redmine/trunk@13095 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-04-16 00:20:49 +00:00
parent 8c5d88160f
commit 770a296f43
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ namespace :db do
task :encrypt => :environment do task :encrypt => :environment do
unless (Repository.encrypt_all(:password) && unless (Repository.encrypt_all(:password) &&
AuthSource.encrypt_all(:account_password)) AuthSource.encrypt_all(:account_password))
raise "Some objects could not be saved after encryption, update was rollback'ed." raise "Some objects could not be saved after encryption, update was rolled back."
end end
end end
@ -29,7 +29,7 @@ namespace :db do
task :decrypt => :environment do task :decrypt => :environment do
unless (Repository.decrypt_all(:password) && unless (Repository.decrypt_all(:password) &&
AuthSource.decrypt_all(:account_password)) AuthSource.decrypt_all(:account_password))
raise "Some objects could not be saved after decryption, update was rollback'ed." raise "Some objects could not be saved after decryption, update was rolled back."
end end
end end
end end