From ff51dc8d5a7f3aa7fd3a84685d030d3e9206d4aa Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 5 Sep 2008 04:14:15 +0000 Subject: [PATCH] Add begin() for good housekeeping --- includes/filerepo/LocalFile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 63ce035b23..65f4efc09f 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -779,6 +779,7 @@ class LocalFile extends File } $dbw = $this->repo->getMasterDB(); + $dbw->begin(); if ( !$props ) { $props = $this->repo->getFileProps( $this->getVirtualUrl() ); -- 2.20.1