From 5645b7594ae8c00fe56610b1fcb93076cbe09165 Mon Sep 17 00:00:00 2001 From: Sean Colombo Date: Tue, 11 Jan 2011 22:20:56 +0000 Subject: [PATCH] A wfProfileOut was missing (which messed up profiling sometimes). Thanks to Owen Davis for finding this. --- includes/Linker.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Linker.php b/includes/Linker.php index d28e093400..30a4b00b5d 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -159,6 +159,7 @@ class Linker { public function link( $target, $text = null, $customAttribs = array(), $query = array(), $options = array() ) { wfProfileIn( __METHOD__ ); if ( !$target instanceof Title ) { + wfProfileOut( __METHOD__ ); return "$text"; } $options = (array)$options; -- 2.20.1