From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- includes/password/MWOldPassword.php | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 includes/password/MWOldPassword.php (limited to 'includes/password/MWOldPassword.php') diff --git a/includes/password/MWOldPassword.php b/includes/password/MWOldPassword.php new file mode 100644 index 00000000..afa5cacc --- /dev/null +++ b/includes/password/MWOldPassword.php @@ -0,0 +1,48 @@ +args ) === 1 ) { + $this->hash = md5( $this->args[0] . '-' . md5( $plaintext ) ); + } else { + $this->args = array(); + $this->hash = md5( $plaintext ); + } + } +} -- cgit v1.2.3-54-g00ecf