diff options
author | umherirrender <umherirrender_de.wp@web.de> | 2013-05-09 18:58:21 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@wikimedia.org> | 2013-05-09 19:52:45 +0000 |
commit | 21751b9ba763ec004f6d6d11ded70f6cf26ae979 (patch) | |
tree | eae39a7686db909b127dcb886f4ca4fee2b71384 /api.php | |
parent | cbc4fd7a5b81f7fec171d78670af453e2882e891 (diff) | |
download | mediawikicore-21751b9ba763ec004f6d6d11ded70f6cf26ae979.tar.gz mediawikicore-21751b9ba763ec004f6d6d11ded70f6cf26ae979.zip |
echo is not a function
Removed parenthesis after echo
Change-Id: Ia533aedf63b11d15dcc6a5cf75a56134a4b11d86
Diffstat (limited to 'api.php')
-rw-r--r-- | api.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,8 +54,8 @@ if ( !$wgRequest->checkUrlExtension() ) { // Verify that the API has not been disabled if ( !$wgEnableAPI ) { header( $_SERVER['SERVER_PROTOCOL'] . ' 500 MediaWiki configuration Error', true, 500 ); - echo( 'MediaWiki API is not enabled for this site. Add the following line to your LocalSettings.php' - . '<pre><b>$wgEnableAPI=true;</b></pre>' ); + echo 'MediaWiki API is not enabled for this site. Add the following line to your LocalSettings.php' + . '<pre><b>$wgEnableAPI=true;</b></pre>'; die( 1 ); } |