Code Duplication    Length = 6-6 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

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