From df8a8f048e8a3fe1de26940111e14a6a7ae9b6b3 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 23 Nov 2013 22:00:16 +0100 Subject: [PATCH] Rename File::_getIsSafeFile() to getIsSafeFileUncached() Part of project to remove underscores from method names and class names. Change-Id: I597565d87002ebc8f3d74f6428ca009e25040519 --- includes/filerepo/file/File.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php index 8e6dc8d035..85aeac07e2 100644 --- a/includes/filerepo/file/File.php +++ b/includes/filerepo/file/File.php @@ -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() ) { -- 2.20.1