Do not have ignoreHidden set to true

We're no longer doing dark-launch deployments for the VisualEditor
so this is unnecessary and a bit messy.

Bug: 42936
Change-Id: I0e55faca4eabe910d9b4d8ca8c6b4b0bd42e8539
This commit is contained in:
James D. Forrester 2013-04-25 12:04:54 -07:00
parent 5ed4f15460
commit 96683370b4

View file

@ -24,10 +24,7 @@ class VisualEditorHooks {
global $wgVisualEditorNamespaces;
if (
// User has the 'visualeditor-enable' preference set
// (bug 42936) ignoring hidden-ness so we can do dark launches
$skin->getUser()->getOption( 'visualeditor-enable',
/*default=*/ false, /*ignoreHidden=*/true
) &&
$skin->getUser()->getOption( 'visualeditor-enable' ) &&
in_array( $skin->getSkinName(), self::$supportedSkins ) &&
(
// Article in the VisualEditor namespace