Deal with commented-out code in StyleUtil
authorMarcel Werk <burntime@woltlab.com>
Wed, 27 Oct 2021 16:22:35 +0000 (18:22 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 27 Oct 2021 16:22:35 +0000 (18:22 +0200)
Closes #4390#

wcfsetup/install/files/lib/util/StyleUtil.class.php

index ffd4571ea8b15ccaf1a8e222bb4f3b8a0965f5b2..43b6b353c924428c6c406c123dc3c2d15bbe9ad9 100644 (file)
@@ -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);