From a512e005f13421e849b213279278d5bf4f8a103b Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Fri, 29 Aug 2008 12:28:26 +0000 Subject: [PATCH] Respect file restrictions in the file history list. This is done by adding oi_deleted to the list of selected fields in OldLocalFile. --- RELEASE-NOTES | 1 + includes/filerepo/OldLocalFile.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index a0d82d9895..cabd95cd6e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -162,6 +162,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Fixed intermittent deadlock errors involving objectcache table queries. Use a separate database connection for the objectcache table to avoid long-lasting locks on that table. +* Respect file restrictions in the file history list === API changes in 1.14 === diff --git a/includes/filerepo/OldLocalFile.php b/includes/filerepo/OldLocalFile.php index 89e49c4c1d..bacae009a0 100644 --- a/includes/filerepo/OldLocalFile.php +++ b/includes/filerepo/OldLocalFile.php @@ -64,6 +64,7 @@ class OldLocalFile extends LocalFile { 'oi_user', 'oi_user_text', 'oi_timestamp', + 'oi_deleted', 'oi_sha1', ); } -- 2.20.1