Profiling fix for LocalFile.
authorAaron <aschulz@wikimedia.org>
Fri, 17 Aug 2012 20:44:54 +0000 (13:44 -0700)
committerAaron <aschulz@wikimedia.org>
Fri, 17 Aug 2012 20:44:54 +0000 (13:44 -0700)
Change-Id: I02d770aee15e42b1046b06d405715cc046c9e7ca

includes/filerepo/file/LocalFile.php

index 1a86e71..e849c8e 100644 (file)
@@ -1043,7 +1043,7 @@ class LocalFile extends File {
                if ( !$props ) {
                        wfProfileIn( __METHOD__ . '-getProps' );
                        $props = $this->repo->getFileProps( $this->getVirtualUrl() );
-                       wfProfileOut( __METHOD__ . -'getProps' );
+                       wfProfileOut( __METHOD__ . '-getProps' );
                }
 
                if ( $timestamp === false ) {