Fixed bug caused by unset( $this->mSkin ) in User::setOption which was removing the...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 20 Sep 2010 19:04:16 +0000 (19:04 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 20 Sep 2010 19:04:16 +0000 (19:04 +0000)
includes/User.php

index c06abff..3d4d876 100644 (file)
@@ -2006,7 +2006,7 @@ class User {
 
                if ( $oname == 'skin' ) {
                        # Clear cached skin, so the new one displays immediately in Special:Preferences
-                       unset( $this->mSkin );
+                       $this->mSkin = null;
                }
 
                // Explicitly NULL values should refer to defaults