From b7a0aa9a133bd5b1544db24ad4c59b9c8048efab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Tue, 2 Aug 2005 10:40:42 +0000 Subject: [PATCH] -php notices --- includes/Image.php | 2 +- includes/SpecialUndelete.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Image.php b/includes/Image.php index 3e73621324..1314b4a028 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -854,7 +854,7 @@ class Image * @return ThumbnailImage * @access public */ - function &getThumbnail( $width, $height=-1 ) { + function getThumbnail( $width, $height=-1 ) { if ( $height == -1 ) { return $this->renderThumb( $width ); } diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 51b8083f7a..09ef8678e5 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -40,7 +40,7 @@ class PageArchive { * * @return ResultWrapper */ - /* static */ function &listAllPages() { + /* static */ function listAllPages() { $dbr =& wfGetDB( DB_SLAVE ); $archive = $dbr->tableName( 'archive' ); @@ -56,7 +56,7 @@ class PageArchive { * * @return ResultWrapper */ - function &listRevisions() { + function listRevisions() { $dbr =& wfGetDB( DB_SLAVE ); return $dbr->resultObject( $dbr->select( 'archive', array( 'ar_minor_edit', 'ar_timestamp', 'ar_user', 'ar_user_text', 'ar_comment' ), -- 2.20.1