From 3955415f203d5e86a65aa16f804364c1c684a6cd Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 22 Aug 2016 21:08:23 -0700 Subject: [PATCH] Remove redundant isLoggedIn() call Follows-up 3e7a50d5, 81c291f26. Change-Id: I76f71f92ed8f2f57b871fa359c469f83357d8025 --- includes/OutputPage.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 8fb3bc2255..852a4ed391 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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(); -- 2.20.1