-php notices
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 2 Aug 2005 10:40:42 +0000 (10:40 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 2 Aug 2005 10:40:42 +0000 (10:40 +0000)
includes/Image.php
includes/SpecialUndelete.php

index 3e73621..1314b4a 100644 (file)
@@ -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 );
                }
index 51b8083..09ef867 100644 (file)
@@ -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' ),