Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -559,30 +559,6 @@ |
560 | 560 | } |
561 | 561 | |
562 | 562 | /** |
563 | | - * As createThumb, but returns a ThumbnailImage object. This can |
564 | | - * provide access to the actual file, the real size of the thumb, |
565 | | - * and can produce a convenient \<img\> tag for you. |
566 | | - * |
567 | | - * For non-image formats, this may return a filetype-specific icon. |
568 | | - * |
569 | | - * @param $width Integer: maximum width of the generated thumbnail |
570 | | - * @param $height Integer: maximum height of the image (optional) |
571 | | - * @param $render Integer: Deprecated |
572 | | - * |
573 | | - * @return ThumbnailImage or null on failure |
574 | | - * |
575 | | - * @deprecated use transform() |
576 | | - */ |
577 | | - public function getThumbnail( $width, $height=-1, $render = true ) { |
578 | | - wfDeprecated( __METHOD__ ); |
579 | | - $params = array( 'width' => $width ); |
580 | | - if ( $height != -1 ) { |
581 | | - $params['height'] = $height; |
582 | | - } |
583 | | - return $this->transform( $params, 0 ); |
584 | | - } |
585 | | - |
586 | | - /** |
587 | 563 | * Transform a media file |
588 | 564 | * |
589 | 565 | * @param $params Array: an associative array of handler-specific parameters. |
Index: trunk/phase3/includes/filerepo/LocalFile.php |
— | — | @@ -561,7 +561,6 @@ |
562 | 562 | /** getUnscaledThumb inherited */ |
563 | 563 | /** thumbName inherited */ |
564 | 564 | /** createThumb inherited */ |
565 | | - /** getThumbnail inherited */ |
566 | 565 | /** transform inherited */ |
567 | 566 | |
568 | 567 | /** |