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 = 10-10 lines in 2 locations

modules/admin/admin.admin.controller.php 1 location

@@ 18-27 (lines=10) @@
15
	 * initialization
16
	 * @return void
17
	 */
18
	function init()
19
	{
20
		// forbit access if the user is not an administrator
21
		$oMemberModel = getModel('member');
22
		$logged_info = $oMemberModel->getLoggedInfo();
23
		if($logged_info->is_admin != 'Y')
24
		{
25
			return $this->stop("msg_is_not_administrator");
26
		}
27
	}
28
29
	/**
30
	 * Admin menu reset

modules/adminlogging/adminlogging.controller.php 1 location

@@ 19-28 (lines=10) @@
16
	 * Initialization
17
	 * @return void
18
	 */
19
	function init()
20
	{
21
		// forbit access if the user is not an administrator
22
		$oMemberModel = getModel('member');
23
		$logged_info = $oMemberModel->getLoggedInfo();
24
		if($logged_info->is_admin != 'Y')
25
		{
26
			return $this->stop("msg_is_not_administrator");
27
		}
28
	}
29
30
	/**
31
	 * Insert log