Code Duplication    Length = 5-5 lines in 2 locations

install/install.queries.php 2 locations

@@ 139-143 (lines=5) @@
136
            }
137
138
            if (isset($data['activity']) && $data['activity'] === "version") {
139
                if (version_compare(phpversion(), '5.5.0', '>=')) {
140
                    echo '[{"error" : "", "index" : "'.$post_index.'", "multiple" : "'.$post_multiple.'"}]';
141
                } else {
142
                    echo '[{"error" : "PHP version '.phpversion().' is not OK (minimum is 5.5.0)", "index" : "'.$post_index.'", "multiple" : "'.$post_multiple.'"}]';
143
                }
144
                break;
145
            }
146
@@ 148-152 (lines=5) @@
145
            }
146
147
            if (isset($data['activity']) && $data['activity'] === "ini") {
148
                if (ini_get($data['task']) >= 60) {
149
                    echo '[{"error" : "", "index" : "'.$post_index.'"}]';
150
                } else {
151
                    echo '[{"error" : "PHP \"Maximum execution time\" is set to '.ini_get('max_execution_time').' seconds. Please try to set to 60s at least during installation.", "index" : "'.$post_index.'", "multiple" : "'.$post_multiple.'"}]';
152
                }
153
                break;
154
            }
155
            break;