Index: trunk/extensions/AmazonPlus/AmazonPlus.php |
— | — | @@ -25,17 +25,6 @@ |
26 | 26 | exit( 1 ); |
27 | 27 | } |
28 | 28 | |
29 | | -if ( !function_exists( 'wfIniGetBool' ) ) { |
30 | | - # perhaps GlobalFunctions wasn't loaded? |
31 | | - require_once( "$IP/includes/GlobalFunctions.php" ); |
32 | | - if ( !function_exists( 'wfIniGetBool' ) ) { |
33 | | - # unsupported MediaWiki version, exit early so we don't get fatals or whatnot |
34 | | - echo '<html><head><title>Error</title></head><body>The AmazonPlus extension does not support your version of MediaWiki. |
35 | | - Please either upgrade MediaWiki or uninstall the AmazonPlus extension.</body></html>'; |
36 | | - die( 1 ); |
37 | | - } |
38 | | -} |
39 | | - |
40 | 29 | # make sure that everything that needs to be set/loaded is that way |
41 | 30 | $err = ''; |
42 | 31 | if ( !wfIniGetBool( 'allow_url_fopen' ) && !extension_loaded( 'curl' ) ) { |