Code Duplication    Length = 4-4 lines in 2 locations

controller/PageController.class.inc.php 2 locations

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