Merge "filerepo: Mark some internal LocalFile methods private"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 31 Mar 2016 01:00:24 +0000 (01:00 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 31 Mar 2016 01:00:24 +0000 (01:00 +0000)
includes/filerepo/file/LocalFile.php

index 609a8fb..3f7eadb 100644 (file)
@@ -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();