From: Nick Jenkins Date: Mon, 2 Jun 2008 06:44:05 +0000 (+0000) Subject: Prevent E_STRICT warning on editing a non-existent page / starting a new page: X-Git-Tag: 1.31.0-rc.0~47247 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=8cc12e7d99feadc5f1a2a37cf85be6ed79e77fc1;p=lhc%2Fweb%2Fwiklou.git Prevent E_STRICT warning on editing a non-existent page / starting a new page: ------------------------------- Strict Standards: Only variables should be passed by reference in includes/EditPage.php on line 2233 EditPage.showDeletionLog(Object:OutputPage) # line 685, file: includes/EditPage.php EditPage.showIntro() # line 450, file: includes/EditPage.php EditPage.edit() # line 348, file: includes/EditPage.php EditPage.submit() # line 490, file: includes/Wiki.php MediaWiki.performAction(Object:OutputPage, Object:Article, Object:Title, Object:User, Object:WebRequest) # line 59, file: includes/Wiki.php MediaWiki.initialize(Object:Title, Object:Article, Object:OutputPage, Object:User, Object:WebRequest) # line 92, file: index.php ------------------------------- --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index a48c9da575..d9635418c6 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -24,9 +24,9 @@ class LogEventsList { private $out; public $flags; - function __construct( &$skin, &$out, $flags = 0 ) { - $this->skin =& $skin; - $this->out =& $out; + function __construct( $skin, $out, $flags = 0 ) { + $this->skin = $skin; + $this->out = $out; $this->flags = $flags; $this->preCacheMessages(); }