From 803c9d4cc5e5cb6b80a46f03aa90d9de8e6c1997 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Sat, 13 Oct 2007 13:02:25 +0000 Subject: [PATCH] ActionItem96: changing ChangePassword to cope with the new interface for tasks --- app/models/change_password.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/change_password.rb b/app/models/change_password.rb index 48892f8..d718624 100644 --- a/app/models/change_password.rb +++ b/app/models/change_password.rb @@ -61,15 +61,15 @@ class ChangePassword < Task # overriding messages - def cancel_message + def task_cancelled_message _('Your password change request was cancelled at %s.') % Time.now.to_s end - def finish_message + def task_finished_message _('Your password was changed successfully.') end - def create_message + def task_created_message hostname = self.requestor.environment.default_hostname code = self.code url = generate_url(:host => hostname, :controller => 'account', :action => 'new_password', :code => code) -- libgit2 0.21.2