From 1bbb162e8bd65360d97938ea6836d7de50ab25f8 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 5 May 2008 19:39:30 +0000 Subject: [PATCH] Stop profiling before ending the function --- includes/AjaxDispatcher.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php index e3b3bb12c8..ca6f180cf3 100644 --- a/includes/AjaxDispatcher.php +++ b/includes/AjaxDispatcher.php @@ -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).' ); -- 2.20.1