From f77f9ebab86925fa579b0eacda58c59d59de6aaf Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 10 Sep 2011 22:09:31 +0000 Subject: [PATCH] Simplify some contexts --- skins/Simple.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skins/Simple.php b/skins/Simple.php index c0777d4c85..7a3e2cd5f9 100644 --- a/skins/Simple.php +++ b/skins/Simple.php @@ -33,12 +33,12 @@ class SkinSimple extends SkinTemplate { $rules = array(); $underline = ""; - if ( $this->getSkin()->getUser()->getOption( 'underline' ) < 2 ) { - $underline = "text-decoration: " . $this->getSkin()->getUser()->getOption( 'underline' ) ? 'underline !important' : 'none' . ";"; + if ( $this->getUser()->getOption( 'underline' ) < 2 ) { + $underline = "text-decoration: " . $this->getUser()->getOption( 'underline' ) ? 'underline !important' : 'none' . ";"; } /* Also inherits from resourceloader */ - if( !$this->getSkin()->getUser()->getOption( 'highlightbroken' ) ) { + if( !$this->getUser()->getOption( 'highlightbroken' ) ) { $rules[] = "a.new, a.stub { color: inherit; text-decoration: inherit;}"; $rules[] = "a.new:after { color: #CC2200; $underline;}"; $rules[] = "a.stub:after { $underline; }"; -- 2.20.1