Code Duplication    Length = 4-4 lines in 2 locations

core/categorie.php 2 locations

@@ 452-455 (lines=4) @@
449
					$redirect_url = $this->helper->route('ernadoo_phpbbdirectory_dynamic_route_' . $cat_id);
450
					$message = $this->language->lang('DIR_NOT_WATCHING_CAT');
451
452
					if (!$this->request->is_ajax())
453
					{
454
						$message .= '<br /><br />' . $this->language->lang('DIR_CLICK_RETURN_CAT', '<a href="' . $redirect_url . '">', '</a>');
455
					}
456
457
					meta_refresh(3, $redirect_url);
458
					return $message;
@@ 485-488 (lines=4) @@
482
					$redirect_url = $this->helper->route('ernadoo_phpbbdirectory_dynamic_route_' . $cat_id);
483
					$message = $this->language->lang('DIR_ARE_WATCHING_CAT');
484
485
					if (!$this->request->is_ajax())
486
					{
487
						$message .= '<br /><br />' . $this->language->lang('DIR_CLICK_RETURN_CAT', '<a href="' . $redirect_url . '">', '</a>');
488
					}
489
490
					meta_refresh(3, $redirect_url);
491
					return $message;