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

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


Remove obvious function-level profiling

Change-Id: I89b9a7798328064aa721a1f5e39a08834dff32cc
---
M CreditsSource_body.php
1 file changed, 0 insertions(+), 4 deletions(-)

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



diff --git a/CreditsSource_body.php b/CreditsSource_body.php
index b89d867..5ac5367 100644
--- a/CreditsSource_body.php
+++ b/CreditsSource_body.php
@@ -39,8 +39,6 @@
        public function getCredits( $maxCredits, $showCreditsIfMax = true ) {
                $maxCredits = $showCreditsIfMax ? $maxCredits : 9999999;
 
-               wfProfileIn( __METHOD__ );
-
                $return = '';
                $pageId = $this->getTitle()->getArticleID();
                $sourceWorks = SimpleSourceWork::newFromPageId( $pageId, 
$maxCredits );
@@ -66,8 +64,6 @@
                                $lang->userTime( $source->mTs, $user )
                        )->parse();
                }
-
-               wfProfileOut( __METHOD__ );
 
                return $return;
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I89b9a7798328064aa721a1f5e39a08834dff32cc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CreditsSource
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