Преглед изворни кода

unnecessary string concatenation

El RIDO пре 3 година
родитељ
комит
3a4e5ed0c9
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      lib/Controller.php

+ 2 - 2
lib/Controller.php

@@ -445,8 +445,8 @@ class Controller
         }
         if ($type === 'types') {
             $content = str_replace(
-                '"' . implode('", "', array_keys($this->_conf->getDefaults()['expire_options'])) . '"',
-                '"' . implode('", "', array_keys($this->_conf->getSection('expire_options'))) . '"',
+                implode('", "', array_keys($this->_conf->getDefaults()['expire_options'])),
+                implode('", "', array_keys($this->_conf->getSection('expire_options'))),
                 $content
             );
         }