GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 8-8 lines in 2 locations

modules/point/point.controller.php 2 locations

@@ 341-348 (lines=8) @@
338
		$oModuleModel = getModel('module');
339
		$config = $oModuleModel->getModuleConfig('point');
340
		$module_config = $oModuleModel->getModulePartConfig('point', $module_srl);
341
		if (isset($module_config['download_file']))
342
		{
343
			$point = intval($module_config['download_file']);
344
		}
345
		else
346
		{
347
			$point = intval($config->download_file);
348
		}
349
350
		// If the user is not logged in and download requires points, deny access.
351
		if(!Context::get('is_logged'))
@@ 396-403 (lines=8) @@
393
		$oModuleModel = getModel('module');
394
		$config = $oModuleModel->getModuleConfig('point');
395
		$module_config = $oModuleModel->getModulePartConfig('point', $module_srl);
396
		if (isset($module_config['download_file']))
397
		{
398
			$point = intval($module_config['download_file']);
399
		}
400
		else
401
		{
402
			$point = intval($config->download_file);
403
		}
404
405
		// Get the points of the member
406
		$oPointModel = getModel('point');