Merge "Add missing __METHOD__ to select in LocalRepo"
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 23 Jun 2012 19:25:32 +0000 (19:25 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 23 Jun 2012 19:25:32 +0000 (19:25 +0000)
includes/filerepo/LocalRepo.php

index 2beea43..c616e16 100644 (file)
@@ -234,7 +234,8 @@ class LocalRepo extends FileRepo {
                $res = $dbr->select(
                        'image',
                        LocalFile::selectFields(),
-                       array( 'img_sha1' => $hash )
+                       array( 'img_sha1' => $hash ),
+                       __METHOD__
                );
                
                $result = array();