Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/189827

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

Remove obvious function-level profiling

Change-Id: If4b165fc7f8024b226be1f5dab2f3abadafedd1b
---
M CheckUserEncryptedData.php
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CheckUser 
refs/changes/27/189827/1

diff --git a/CheckUserEncryptedData.php b/CheckUserEncryptedData.php
index 8fca9e8..6433256 100644
--- a/CheckUserEncryptedData.php
+++ b/CheckUserEncryptedData.php
@@ -22,12 +22,10 @@
         * @param $data Mixed: data/object to be encryted
         * @param $publicKey: public key for encryption
         */
-       function __construct( $data, $publicKey, $algorithmName = 'rc4' ) {
-               wfProfileIn( __METHOD__ );
+       public function __construct( $data, $publicKey, $algorithmName = 'rc4' 
) {
                $this->keyHash = crc32( $publicKey );
                $this->algName = $algorithmName;
                $this->encryptData( serialize( $data ), $publicKey );
-               wfProfileOut( __METHOD__ );
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If4b165fc7f8024b226be1f5dab2f3abadafedd1b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CheckUser
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

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

Reply via email to