From: Aaron Schulz Date: Thu, 24 Mar 2016 19:09:24 +0000 (-0700) Subject: filerepo: Mark some internal LocalFile methods private X-Git-Tag: 1.31.0-rc.0~7471^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=7889d3f15096e95d84beaf2f871929badcaf6e6a;p=lhc%2Fweb%2Fwiklou.git filerepo: Mark some internal LocalFile methods private Change-Id: I1c9ab1e1460b5c66e8a1dbdb387f80004eaba994 --- 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();