Whitespace fixing, change to_date to to_timestamp for archive rule
[lhc/web/wiklou.git] / index.php
index 9955aa1..e3b753f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -22,17 +22,13 @@ if ($wgTitle == NULL) {
 #
 # Send Ajax requests to the Ajax dispatcher.
 #
-if ( $wgUseAjax ) {
-       if( $action == 'ajax' ) {
-               require_once( $IP . '/includes/AjaxDispatcher.php' );
-
-               $dispatcher = new AjaxDispatcher();
-               $dispatcher->performAction();
-               $mediaWiki->restInPeace( $wgLoadBalancer );
-               exit;
-       } else {
-               require_once( $IP . '/includes/AjaxHooks.php' );
-       }
+if ( $wgUseAjax && $action == 'ajax' ) {
+       require_once( $IP . '/includes/AjaxDispatcher.php' );
+
+       $dispatcher = new AjaxDispatcher();
+       $dispatcher->performAction();
+       $mediaWiki->restInPeace( $wgLoadBalancer );
+       exit;
 }