Code Duplication    Length = 6-6 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

@@ 2246-2251 (lines=6) @@
2243
					$contentType = '';
2244
				}
2245
2246
				if (!$contentType || strtolower($contentType) == 'text') {
2247
					require_once($this->store->get_config('code')."modules/mod_url.php");
2248
					$temp = explode('.', $file);
2249
					$imageNLS = $temp[0];
2250
					$result = URL::ARtoRAW($result, $imageNLS);
2251
				}
2252
			} else {
2253
				$result=false;
2254
				$ARCurrent->cache[]=$file;
@@ 2300-2305 (lines=6) @@
2297
					$contentType = '';
2298
				}
2299
2300
				if (!$contentType || strtolower($contentType) == 'text') {
2301
					require_once($this->store->get_config('code')."modules/mod_url.php");
2302
					$temp = explode('.', $file);
2303
					$imageNLS = $temp[0];
2304
					$image = URL::RAWtoAR($image, $imageNLS);
2305
				}
2306
2307
				if( $time > 0  && $DB["wasUsed"] == 0) {
2308
					$pcache=$this->store->get_filestore("privatecache");