aboutsummaryrefslogtreecommitdiffstats
path: root/api.php
diff options
context:
space:
mode:
authorumherirrender <umherirrender_de.wp@web.de>2013-05-09 18:58:21 +0200
committerGerrit Code Review <gerrit@wikimedia.org>2013-05-09 19:52:45 +0000
commit21751b9ba763ec004f6d6d11ded70f6cf26ae979 (patch)
treeeae39a7686db909b127dcb886f4ca4fee2b71384 /api.php
parentcbc4fd7a5b81f7fec171d78670af453e2882e891 (diff)
downloadmediawikicore-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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.php b/api.php
index b9efe2c252f3..9d7f6480ed31 100644
--- a/api.php
+++ b/api.php
@@ -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 );
}