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-12 lines in 3 locations

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

@@ 143-154 (lines=12) @@
140
	/**
141
	 * @brief delete the board module
142
	 **/
143
	function procBoardAdminDeleteBoard() {
144
		$module_srl = Context::get('module_srl');
145
146
		// get the current module
147
		$oModuleController = getController('module');
148
		$output = $oModuleController->deleteModule($module_srl);
149
		if(!$output->toBool()) return $output;
150
151
		$this->add('module','board');
152
		$this->add('page',Context::get('page'));
153
		$this->setMessage('success_deleted');
154
	}
155
156
	function procBoardAdminSaveCategorySettings()
157
	{

modules/module/module.admin.controller.php 2 locations

@@ 36-45 (lines=10) @@
33
	/**
34
	 * @brief Update category
35
	 */
36
	function procModuleAdminUpdateCategory()
37
	{
38
		$output = $this->doUpdateModuleCategory();
39
		if(!$output->toBool()) return $output;
40
41
		$this->setMessage('success_updated');
42
43
		$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispModuleAdminCategory');
44
		$this->setRedirectUrl($returnUrl);
45
	}
46
47
	/**
48
	 * @brief Delete category
@@ 50-59 (lines=10) @@
47
	/**
48
	 * @brief Delete category
49
	 */
50
	function procModuleAdminDeleteCategory()
51
	{
52
		$output = $this->doDeleteModuleCategory();
53
		if(!$output->toBool()) return $output;
54
55
		$this->setMessage('success_deleted');
56
57
		$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispModuleAdminCategory');
58
		$this->setRedirectUrl($returnUrl);
59
	}
60
61
	/**
62
	 * @brief Change the title of the module category