X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FMessageBlobStore.php;h=6f7e8e5774134cec6fd154c6ff6ba466697987c6;hb=9ae95b8281288c37776779dc0149b3e953ba29f4;hp=e3b4dbe8fed47123b7935f1902b28382b22886e5;hpb=abb5869cba1cca1c7d9bedfda6d3831bf2fc11a0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MessageBlobStore.php b/includes/MessageBlobStore.php index e3b4dbe8fe..6f7e8e5774 100644 --- a/includes/MessageBlobStore.php +++ b/includes/MessageBlobStore.php @@ -56,9 +56,7 @@ class MessageBlobStore { * @return array An array mapping module names to message blobs */ public function get( ResourceLoader $resourceLoader, $modules, $lang ) { - wfProfileIn( __METHOD__ ); if ( !count( $modules ) ) { - wfProfileOut( __METHOD__ ); return array(); } // Try getting from the DB first @@ -73,7 +71,6 @@ class MessageBlobStore { } } - wfProfileOut( __METHOD__ ); return $blobs; }