Rename File::_getIsSafeFile() to getIsSafeFileUncached()
[lhc/web/wiklou.git] / 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() ) {