From 81644d5db093656ed61afa03f0daeb03e02fdd17 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Sat, 6 Nov 2010 01:34:47 +0000 Subject: [PATCH] Use wfDeprecated() in the deprecated function getThumbnail() and getLinksTo() of File.php --- includes/filerepo/File.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index 9e582ad6f1..0ba402f091 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -528,6 +528,7 @@ abstract class File { * @deprecated use transform() */ public function getThumbnail( $width, $height=-1, $render = true ) { + wfDeprecated( __METHOD__ ); $params = array( 'width' => $width ); if ( $height != -1 ) { $params['height'] = $height; @@ -886,6 +887,7 @@ abstract class File { * @deprecated Use HTMLCacheUpdate, this function uses too much memory */ function getLinksTo( $options = array() ) { + wfDeprecated( __METHOD__ ); wfProfileIn( __METHOD__ ); // Note: use local DB not repo DB, we want to know local links -- 2.20.1