Code Duplication    Length = 3-3 lines in 2 locations

classes/autoptimizeScripts.php 1 location

@@ 146-148 (lines=3) @@
143
							}
144
							
145
							// remove querystring from URL in newTag
146
							if ( !empty($explUrl[1]) ) {
147
								$newTag = str_replace("?".$explUrl[1],"",$newTag);
148
							}
149
						}
150
151
						// should we move the non-aggregated script?

classes/autoptimizeStyles.php 1 location

@@ 199-201 (lines=3) @@
196
							}
197
							
198
							// remove querystring from URL
199
							if ( !empty($explUrl[1]) ) {
200
								$newTag = str_replace("?".$explUrl[1],"",$newTag);
201
							}
202
203
							// and replace
204
							$this->content = str_replace($tag,$newTag,$this->content);