Revert "Merge branch '17459_pci' into 'master'"
This reverts merge request !5
Showing
1 changed file
with
0 additions
and
2 deletions
| ... | @@ -156,12 +156,10 @@ class FlagManager { | ... | @@ -156,12 +156,10 @@ class FlagManager { |
| 156 | if(!$flags) return []; | 156 | if(!$flags) return []; |
| 157 | foreach($flags as $flag){ | 157 | foreach($flags as $flag){ |
| 158 | $value = $this->checkFlag($flag, !empty($flag['default']) ? $flag['default'] : null); | 158 | $value = $this->checkFlag($flag, !empty($flag['default']) ? $flag['default'] : null); |
| 159 | if(isset($_GET[$flag['name']])){ | ||
| 160 | setcookie($flag['name'], null, time() + (86400 * 30), "/"); | 159 | setcookie($flag['name'], null, time() + (86400 * 30), "/"); |
| 161 | setcookie($flag['encrypted_name'], $value['cookie_value'], time() + (86400 * 30), "/"); | 160 | setcookie($flag['encrypted_name'], $value['cookie_value'], time() + (86400 * 30), "/"); |
| 162 | } | 161 | } |
| 163 | } | 162 | } |
| 164 | } | ||
| 165 | 163 | ||
| 166 | private function filterFlag($flag, $needle, $defaultValue){ | 164 | private function filterFlag($flag, $needle, $defaultValue){ |
| 167 | $this->checkDir(); | 165 | $this->checkDir(); | ... | ... |
-
Please register or sign in to post a comment