jenkins-bot has submitted this change and it was merged.

Change subject: Remove obvious function-level profiling
......................................................................


Remove obvious function-level profiling

Change-Id: I120ed3604c6529500fac52a63c7cf5ebecdbba20
---
M includes/ZeroConfigView.php
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/ZeroConfigView.php b/includes/ZeroConfigView.php
index 794f741..7486527 100644
--- a/includes/ZeroConfigView.php
+++ b/includes/ZeroConfigView.php
@@ -164,7 +164,6 @@
        private function renderBanners( ZeroConfig $config ) {
                global $wgConf, $wgOut;
 
-               wfProfileIn( __METHOD__ );
                $wgConf->loadFullData();
 
                // Merging keys preserves the order - first all the banners, 
then - name, etc
@@ -217,7 +216,6 @@
                        Xml::tags( 'tbody', array(), join( "\n", $rows ) )
                );
 
-               wfProfileOut( __METHOD__ );
                return $res;
        }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/189829
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I120ed3604c6529500fac52a63c7cf5ebecdbba20
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroPortal
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to