r87577 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87576‎ | r87577 | r87578 >
Date:20:50, 6 May 2011
Author:reedy
Status:ok
Tags:
Comment:
Couple more deprecated things removed
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -2210,20 +2210,6 @@
22112211 }
22122212
22132213 /**
2214 - * Encrypt a username/password.
2215 - *
2216 - * @param $userid Integer: ID of the user
2217 - * @param $password String: password of the user
2218 - * @return String: hashed password
2219 - * @deprecated since 1.13 Use User::crypt() or User::oldCrypt() instead
2220 - */
2221 -function wfEncryptPassword( $userid, $password ) {
2222 - wfDeprecated(__FUNCTION__);
2223 - # Just wrap around User::oldCrypt()
2224 - return User::oldCrypt( $password, $userid );
2225 -}
2226 -
2227 -/**
22282214 * Appends to second array if $value differs from that in $default
22292215 *
22302216 * @param $key String|Int
Index: trunk/phase3/includes/Linker.php
@@ -1974,12 +1974,6 @@
19751975 return self::makeKnownLinkObj( $nt, $text, $query, $trail, $prefix, '', $style );
19761976 }
19771977
1978 - /** Obsolete alias */
1979 - static function makeImage( $url, $alt = '' ) {
1980 - wfDeprecated( __METHOD__ );
1981 - return self::makeExternalImage( $url, $alt );
1982 - }
1983 -
19841978 /**
19851979 * Creates the HTML source for images
19861980 * @deprecated since 1.16 use makeImageLink2

Status & tagging log