r87926 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r87925
|
r87926
|
r87927
>
Date:
19:57, 12 May 2011
Author:
hartman
Status:
deferred
Tags:
Comment:
Forwardport
r81952
from OggHandler to TimedMediaHandler
Modified paths:
/trunk/extensions/TimedMediaHandler/handlers/OggHandler/OggHandler.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/TimedMediaHandler/handlers/OggHandler/OggHandler.php
—
—
@@ -96,7 +96,7 @@
97
97
foreach ( $metadata['streams'] as $stream ) {
98
98
$streamTypes[] = $stream['type'];
99
99
}
100
- return $streamTypes;
100
+ return array_unique( $streamTypes );
101
101
}
102
102
103
103
function getOffset( $file ){
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r81952
Followup
r81950
: array_keys() had a purpose: to remove dupes. Use array_uniqu...
demon
10:11, 11 February 2011
Status & tagging log
17:01, 14 May 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r87926
[
removed:
new
added:
deferred]