r80812 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80811‎ | r80812 | r80813 >
Date:11:53, 23 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Accredit to Brion (No idea if this is right...)

Kill off check for "PHP 4.3.0 or higher"
Modified paths:
  • /trunk/extensions/UploadBlacklist/UploadBlacklist.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadBlacklist/UploadBlacklist.php
@@ -9,13 +9,12 @@
1010
1111 if( !defined( 'MEDIAWIKI' ) )
1212 die();
13 -if( !function_exists( 'sha1_file' ) )
14 - die( "UploadBlacklist extension requires PHP 4.3.0 or higher." );
1513
1614 $wgExtensionCredits['other'][] = array(
1715 'path' => __FILE__,
1816 'name' => 'UploadBlacklist',
1917 'descriptionmsg' => 'uploadblacklist-desc',
 18+ 'author' => 'Brion Vibber',
2019 'url' => 'http://www.mediawiki.org/wiki/Extension:UploadBlacklist',
2120 );
2221

Status & tagging log