Code Duplication    Length = 5-6 lines in 2 locations

code/pagetypes/ForumHolder.php 1 location

@@ 577-582 (lines=6) @@
574
		RSSFeed::linkToFeed($this->Link("rss"), _t('ForumHolder.POSTSTOALLFORUMS', "Posts to all forums"));
575
576
		// Set the back url
577
		if(isset($_SERVER['REQUEST_URI'])) {
578
			Session::set('BackURL', $_SERVER['REQUEST_URI']);
579
		}
580
		else {
581
			Session::set('BackURL', $this->Link());
582
		}
583
	}
584
585
	/**

code/pagetypes/Forum.php 1 location

@@ 536-540 (lines=5) @@
533
 		}
534
535
		// Set the back url
536
		if(isset($_SERVER['REQUEST_URI'])) {
537
			Session::set('BackURL', $_SERVER['REQUEST_URI']);
538
		} else {
539
			Session::set('BackURL', $this->Link());
540
		}
541
	}
542
543
	/**