Code Duplication    Length = 6-6 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

@@ 2241-2246 (lines=6) @@
2238
					$contentType = '';
2239
				}
2240
2241
				if (!$contentType || strtolower($contentType) == 'text') {
2242
					require_once($this->store->get_config('code')."modules/mod_url.php");
2243
					$temp = explode('.', $file);
2244
					$imageNLS = $temp[0];
2245
					$result = URL::ARtoRAW($result, $imageNLS);
2246
				}
2247
			} else {
2248
				$result=false;
2249
				$ARCurrent->cache[]=$file;
@@ 2294-2299 (lines=6) @@
2291
					$contentType = '';
2292
				}
2293
2294
				if (!$contentType || strtolower($contentType) == 'text') {
2295
					require_once($this->store->get_config('code')."modules/mod_url.php");
2296
					$temp = explode('.', $file);
2297
					$imageNLS = $temp[0];
2298
					$image = URL::RAWtoAR($image, $imageNLS);
2299
				}
2300
2301
				if( $time > 0  && $DB["wasUsed"] == 0) {
2302
					$pcache=$this->store->get_filestore("privatecache");