From: Alexandre Emsenhuber Date: Mon, 5 May 2008 19:39:30 +0000 (+0000) Subject: Stop profiling before ending the function X-Git-Tag: 1.31.0-rc.0~47893 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=1bbb162e8bd65360d97938ea6836d7de50ab25f8;p=lhc%2Fweb%2Fwiklou.git Stop profiling before ending the function --- 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).' );