From: Niklas Laxström Date: Fri, 23 May 2008 07:20:52 +0000 (+0000) Subject: * PHP Strict Standards: Only variables should be passed by reference in <> X-Git-Tag: 1.31.0-rc.0~47450 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=1b6a66bbc7583c11c97f83d19902f65a502229c1;p=lhc%2Fweb%2Fwiklou.git * PHP Strict Standards: Only variables should be passed by reference in <> --- diff --git a/includes/Revision.php b/includes/Revision.php index d043e15800..2fd9d3ffa8 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -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 {