Add begin() for good housekeeping
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 5 Sep 2008 04:14:15 +0000 (04:14 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 5 Sep 2008 04:14:15 +0000 (04:14 +0000)
includes/filerepo/LocalFile.php

index 63ce035..65f4efc 100644 (file)
@@ -779,6 +779,7 @@ class LocalFile extends File
                }
 
                $dbw = $this->repo->getMasterDB();
+               $dbw->begin();
 
                if ( !$props ) {
                        $props = $this->repo->getFileProps( $this->getVirtualUrl() );