Remove passing by reference in WP_Upgrader, see #7875

git-svn-id: http://svn.automattic.com/wordpress/trunk@11028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-04-21 08:10:41 +00:00
parent e8285dc491
commit c6bfc98f2b
1 changed files with 2 additions and 2 deletions

View File

@ -20,10 +20,10 @@ class WP_Upgrader {
var $skin = null;
var $result = array();
function WP_Upgrader(&$skin = null) {
function WP_Upgrader($skin = null) {
return __construct($skin);
}
function __construct(&$skin = null) {
function __construct($skin = null) {
if ( null == $skin )
$this->skin = new WP_Upgrader_Skin();
else