http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89073
Revision: 89073
Author: reedy
Date: 2011-05-28 21:25:51 +0000 (Sat, 28 May 2011)
Log Message:
-----------
Wondering if wfIniGetBool doesn't exist? lol
Modified Paths:
--------------
trunk/extensions/AmazonPlus/AmazonPlus.php
Modified: trunk/extensions/AmazonPlus/AmazonPlus.php
===================================================================
--- trunk/extensions/AmazonPlus/AmazonPlus.php 2011-05-28 21:25:29 UTC (rev
89072)
+++ trunk/extensions/AmazonPlus/AmazonPlus.php 2011-05-28 21:25:51 UTC (rev
89073)
@@ -25,17 +25,6 @@
exit( 1 );
}
-if ( !function_exists( 'wfIniGetBool' ) ) {
- # perhaps GlobalFunctions wasn't loaded?
- require_once( "$IP/includes/GlobalFunctions.php" );
- if ( !function_exists( 'wfIniGetBool' ) ) {
- # unsupported MediaWiki version, exit early so we don't get
fatals or whatnot
- echo '<html><head><title>Error</title></head><body>The
AmazonPlus extension does not support your version of MediaWiki.
- Please either upgrade MediaWiki or uninstall the AmazonPlus
extension.</body></html>';
- die( 1 );
- }
-}
-
# make sure that everything that needs to be set/loaded is that way
$err = '';
if ( !wfIniGetBool( 'allow_url_fopen' ) && !extension_loaded( 'curl' ) ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs