From: Timo Tijhof Date: Tue, 23 Aug 2016 04:08:23 +0000 (-0700) Subject: Remove redundant isLoggedIn() call X-Git-Tag: 1.31.0-rc.0~5947^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=3955415f203d5e86a65aa16f804364c1c684a6cd;p=lhc%2Fweb%2Fwiklou.git Remove redundant isLoggedIn() call Follows-up 3e7a50d5, 81c291f26. Change-Id: I76f71f92ed8f2f57b871fa359c469f83357d8025 --- 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();