Stop profiling before ending the function
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 5 May 2008 19:39:30 +0000 (19:39 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 5 May 2008 19:39:30 +0000 (19:39 +0000)
includes/AjaxDispatcher.php

index e3b3bb1..ca6f180 100644 (file)
@@ -58,6 +58,7 @@ class AjaxDispatcher {
                break;
 
                default:
+                       wfProfileOut( __METHOD__ );
                        return;
                        # Or we could throw an exception:
                        #throw new MWException( __METHOD__ . ' called without any data (mode empty).' );