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

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

@@ 230-244 (lines=15) @@
227
	 * Change the menu title
228
	 * @return void|object
229
	 */
230
	function procMenuAdminUpdate()
231
	{
232
		// List variables
233
		$args = new stdClass();
234
		$args->title = Context::get('title');
235
		$args->menu_srl = Context::get('menu_srl');
236
237
		$output = executeQuery('menu.updateMenu', $args);
238
		if(!$output->toBool()) return $output;
239
240
		$this->setMessage('success_registed');
241
242
		$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMenuAdminManagement', 'menu_srl', $args->menu_srl);
243
		$this->setRedirectUrl($returnUrl);
244
	}
245
246
	/**
247
	 * Delete menu process method

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

@@ 20-33 (lines=14) @@
17
	/**
18
	 * @brief Save the configurations
19
	 */
20
	function procPollAdminInsertConfig()
21
	{
22
		$config = new stdClass;
23
		$config->skin = Context::get('skin');
24
		$config->colorset = Context::get('colorset');
25
26
		$oModuleController = getController('module');
27
		$oModuleController->insertModuleConfig('poll', $config);
28
29
		$this->setMessage('success_updated');
30
31
		$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispPollAdminConfig');
32
		$this->setRedirectUrl($returnUrl);
33
	}
34
35
	/**
36
	 * @brief Delete the polls selected in the administrator's page