Remove redundant isLoggedIn() call
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 23 Aug 2016 04:08:23 +0000 (21:08 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 23 Aug 2016 04:08:23 +0000 (21:08 -0700)
Follows-up 3e7a50d581c291f26.

Change-Id: I76f71f92ed8f2f57b871fa359c469f83357d8025

includes/OutputPage.php

index 8fb3bc2..852a4ed 100644 (file)
@@ -2859,7 +2859,6 @@ class OutputPage extends ContextSource {
 
        private function isUserCssPreview() {
                return $this->getConfig()->get( 'AllowUserCss' )
-                       && $this->getUser()->isLoggedIn()
                        && $this->getTitle()
                        && $this->getTitle()->isCssSubpage()
                        && $this->userCanPreview();