From 7889d3f15096e95d84beaf2f871929badcaf6e6a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 24 Mar 2016 12:09:24 -0700 Subject: [PATCH] filerepo: Mark some internal LocalFile methods private Change-Id: I1c9ab1e1460b5c66e8a1dbdb387f80004eaba994 --- includes/filerepo/file/LocalFile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/file/LocalFile.php b/includes/filerepo/file/LocalFile.php index 609a8fb5af..3f7eadbf10 100644 --- a/includes/filerepo/file/LocalFile.php +++ b/includes/filerepo/file/LocalFile.php @@ -242,7 +242,7 @@ class LocalFile extends File { * Try to load file metadata from memcached. Returns true on success. * @return bool */ - function loadFromCache() { + private function loadFromCache() { $this->dataLoaded = false; $this->extraDataLoaded = false; $key = $this->getCacheKey(); @@ -279,7 +279,7 @@ class LocalFile extends File { /** * Save the file metadata to memcached */ - function saveToCache() { + private function saveToCache() { $this->load(); $key = $this->getCacheKey(); -- 2.20.1