dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Instead of creating an OutputPage and then setting a context start initializing Outpu...
[lhc/web/wiklou.git]
/
includes
/
AjaxDispatcher.php
diff --git
a/includes/AjaxDispatcher.php
b/includes/AjaxDispatcher.php
index
16e5301
..
0f1d74b
100644
(file)
--- a/
includes/AjaxDispatcher.php
+++ b/
includes/AjaxDispatcher.php
@@
-7,7
+7,7
@@
* Handle ajax requests and send them to the proper handler.
*/
-if ( !
( defined( 'MEDIAWIKI' ) && $wgUseAjax
) ) {
+if ( !
defined( 'MEDIAWIKI'
) ) {
die( 1 );
}
@@
-133,7
+133,7
@@
class AjaxDispatcher {
}
}
- wfProfileOut( __METHOD__ );
$wgOut = null;
+ wfProfileOut( __METHOD__ );
}
}