Add missing wfProfileOut()
authorPlatonides <platonides@gmail.com>
Thu, 6 Dec 2012 22:03:25 +0000 (23:03 +0100)
committerPlatonides <platonides@gmail.com>
Thu, 6 Dec 2012 22:03:25 +0000 (23:03 +0100)
Change-Id: Id9c4958aa6659d66bb3486d17186424fbd9b5758

includes/content/WikitextContent.php

index c11018b..dabb855 100644 (file)
@@ -63,6 +63,7 @@ class WikitextContent extends TextContent {
                $text = $with->getNativeData();
 
                if ( $section === '' ) {
+                       wfProfileOut( __METHOD__ );
                        return $with; # XXX: copy first?
                } if ( $section == 'new' ) {
                        # Inserting a new section