From ca1784cc417e24d7046ec422c6d30b4d3a6c1c1b Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 27 Oct 2021 18:22:35 +0200 Subject: [PATCH] Deal with commented-out code in StyleUtil Closes #4390# --- wcfsetup/install/files/lib/util/StyleUtil.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wcfsetup/install/files/lib/util/StyleUtil.class.php b/wcfsetup/install/files/lib/util/StyleUtil.class.php index ffd4571ea8..43b6b353c9 100644 --- a/wcfsetup/install/files/lib/util/StyleUtil.class.php +++ b/wcfsetup/install/files/lib/util/StyleUtil.class.php @@ -64,10 +64,6 @@ final class StyleUtil $contents = \str_replace('border-right-style:', 'border-left-style:', $contents); $contents = \str_replace('wcf-border-left-style:', 'border-right-style:', $contents); - // border-color - //$contents = preg_replace('/border-color:\s*(rgba?\(.*?\))\s+(rgba?\(.*?\))\s+(rgba?\(.*?\))\s+(rgba?\(.*?\))/', 'border-color:\\1 \\4 \\3 \\2', $contents); - //$contents = preg_replace('/border-color:\s*([^\s;\}]+)\s+([^\s;\}]+)\s+([^\s;\}]+)\s+([^\s;\}]+)/', 'border-color:\\1 \\4 \\3 \\2', $contents); - // (border-left-color, border-right-color) $contents = \str_replace('border-left-color:', 'wcf-border-left-color:', $contents); $contents = \str_replace('border-right-color:', 'border-left-color:', $contents); -- 2.20.1