From 675942261ab5e4b45bb25aa7860ee9f98c9daf47 Mon Sep 17 00:00:00 2001 From: Luke Hudson Date: Tue, 12 Jan 2010 23:12:49 +0000 Subject: [PATCH] BUGFIX: Change EncryptAllPasswords to BuildTask instead of DailyTask git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96733 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tasks/EncryptAllPasswordsTask.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/EncryptAllPasswordsTask.php b/tasks/EncryptAllPasswordsTask.php index b2724d8a9..42047bd95 100644 --- a/tasks/EncryptAllPasswordsTask.php +++ b/tasks/EncryptAllPasswordsTask.php @@ -12,7 +12,7 @@ * @package sapphire * @subpackage tasks */ -class EncryptAllPasswordsTask extends DailyTask { +class EncryptAllPasswordsTask extends BuildTask { protected $title = 'Encrypt all passwords tasks'; protected $description = 'Convert all plaintext passwords on the Member table to the default encryption/hashing algorithm. Note: This mainly applies to passwords in SilverStripe 2.1 or earlier, passwords in newer versions are hashed by default.'; @@ -25,7 +25,7 @@ class EncryptAllPasswordsTask extends DailyTask { } } - public function run($request = null) { + public function run($request) { $algo = Security::get_password_encryption_algorithm(); if($algo == 'none') { $this->debugMessage('Password encryption disabled');