* PHP Strict Standards: Only variables should be passed by reference in <>
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 23 May 2008 07:20:52 +0000 (07:20 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 23 May 2008 07:20:52 +0000 (07:20 +0000)
includes/Revision.php

index d043e15..2fd9d3f 100644 (file)
@@ -35,10 +35,8 @@ class Revision {
         * @param Title $title
         * @param int $id
         * @return Revision
-        * @access public
-        * @static
         */
-       public static function newFromTitle( &$title, $id = 0 ) {
+       public static function newFromTitle( $title, $id = 0 ) {
                if( $id ) {
                        $matchId = intval( $id );
                } else {