Code Duplication    Length = 4-4 lines in 2 locations

controller/PageController.class.inc.php 2 locations

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