r104283 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r104282
|
r104283
|
r104284
>
Date:
17:24, 26 November 2011
Author:
reedy
Status:
deferred
Tags:
Comment:
Fixed a call of $this-> to self:: in a static method
Fixed usage of undefined variable
Made the method return something like it's supposed to
Modified paths:
/trunk/extensions/Arrays/Arrays.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Arrays/Arrays.php
—
—
@@ -1109,8 +1109,7 @@
1110
1110
* @return array
1111
1111
*/
1112
1112
public static function arrayUnique( array $array ) {
1113
- $arr = $this->sanitizeArray( $arr );
1114
- $array = self::array_unique( $array );
1113
+ return self::array_unique( self::sanitizeArray( $array ) );
1115
1114
}
1116
1115
1117
1116
/**
Status & tagging log
20:52, 26 November 2011
Johnduhart
(
talk
|
contribs
)
changed the
status
of r104283
[
removed:
new
added:
deferred]