X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ffilebackend%2FFSFile.php;h=6ee9b2e06aa7c91f31a89c81a28388805464787d;hp=1659c62a348cf0bd91466d74b95ee8b05ca01104;hb=35d9ad550f2f443455b3b76495d9cebfafdfaf37;hpb=38d59dd21347dc5167fbef94a0558f6bbdcd4195 diff --git a/includes/filebackend/FSFile.php b/includes/filebackend/FSFile.php index 1659c62a34..6ee9b2e06a 100644 --- a/includes/filebackend/FSFile.php +++ b/includes/filebackend/FSFile.php @@ -104,7 +104,6 @@ class FSFile { * @return array */ public function getProps( $ext = true ) { - wfProfileIn( __METHOD__ ); wfDebug( __METHOD__ . ": Getting file info for $this->path\n" ); $info = self::placeholderProps(); @@ -146,8 +145,6 @@ class FSFile { wfDebug( __METHOD__ . ": $this->path NOT FOUND!\n" ); } - wfProfileOut( __METHOD__ ); - return $info; } @@ -201,10 +198,8 @@ class FSFile { * @return bool|string False on failure */ public function getSha1Base36( $recache = false ) { - wfProfileIn( __METHOD__ ); if ( $this->sha1Base36 !== null && !$recache ) { - wfProfileOut( __METHOD__ ); return $this->sha1Base36; } @@ -217,8 +212,6 @@ class FSFile { $this->sha1Base36 = wfBaseConvert( $this->sha1Base36, 16, 36, 31 ); } - wfProfileOut( __METHOD__ ); - return $this->sha1Base36; }