From: Niklas Laxström Date: Tue, 2 Aug 2005 10:40:42 +0000 (+0000) Subject: -php notices X-Git-Tag: 1.6.0~2085 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=b7a0aa9a133bd5b1544db24ad4c59b9c8048efab;p=lhc%2Fweb%2Fwiklou.git -php notices --- 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' ),