Code Duplication    Length = 4-4 lines in 2 locations

controller/PageController.class.inc.php 2 locations

@@ 211-214 (lines=4) @@
208
	{
209
		switch($method)
210
		{
211
			case 301 :
212
				if(get_class($this) !== 'Error301Controller')
213
					Loader::loadNew('controller', '/Error301Controller', array($uri))->activate();
214
				break;
215
			case 303 :
216
				if(get_class($this) !== 'Error303Controller')
217
					Loader::loadNew('controller', '/Error303Controller', array($uri))->activate();
@@ 215-218 (lines=4) @@
212
				if(get_class($this) !== 'Error301Controller')
213
					Loader::loadNew('controller', '/Error301Controller', array($uri))->activate();
214
				break;
215
			case 303 :
216
				if(get_class($this) !== 'Error303Controller')
217
					Loader::loadNew('controller', '/Error303Controller', array($uri))->activate();
218
				break;
219
		}
220
	}
221