* changed variable list as per comment on r79954 left only wgDBtype
[lhc/web/wiklou.git] / includes / Linker.php
index d28e093..30a4b00 100644 (file)
@@ -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 "<!-- ERROR -->$text";
                }
                $options = (array)$options;