Followup to r50132: rename API define constant to MW_API, per comment on CR
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 5 May 2009 13:22:50 +0000 (13:22 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 5 May 2009 13:22:50 +0000 (13:22 +0000)
api.php

diff --git a/api.php b/api.php
index 2f1d1a3..e031dfa 100644 (file)
--- a/api.php
+++ b/api.php
@@ -70,7 +70,7 @@ if (!$wgEnableAPI) {
 }
 
 // So extensions can check whether they're running in API mode
-define('API', true);
+define('MW_API', true);
 
 // Set a dummy $wgTitle, because $wgTitle == null breaks various things
 // In a perfect world this wouldn't be necessary