Rename File::_getIsSafeFile() to getIsSafeFileUncached()
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 23 Nov 2013 21:00:16 +0000 (22:00 +0100)
committerSiebrand <siebrand@wikimedia.org>
Sat, 23 Nov 2013 21:17:14 +0000 (21:17 +0000)
Part of project to remove underscores from method names and class names.

Change-Id: I597565d87002ebc8f3d74f6428ca009e25040519

includes/filerepo/file/File.php

index 8e6dc8d..85aeac0 100644 (file)
@@ -663,7 +663,7 @@ abstract class File {
         */
        function isSafeFile() {
                if ( !isset( $this->isSafeFile ) ) {
-                       $this->isSafeFile = $this->_getIsSafeFile();
+                       $this->isSafeFile = $this->getIsSafeFileUncached();
                }
 
                return $this->isSafeFile;
@@ -683,7 +683,7 @@ abstract class File {
         *
         * @return bool
         */
-       protected function _getIsSafeFile() {
+       protected function getIsSafeFileUncached() {
                global $wgTrustedMediaFormats;
 
                if ( $this->allowInlineDisplay() ) {