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.
Completed
Push — master ( 278e53...818459 )
by gyeong-won
39:17 queued 30:14
created

krzipAdminController::procKrzipAdminInsertConfig()   B

Complexity

Conditions 3
Paths 3

Size

Total Lines 29
Code Lines 18

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 3
eloc 18
nc 3
nop 0
dl 0
loc 29
rs 8.8571
c 0
b 0
f 0
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
3
/**
4
 * @class  krzipAdminController
5
 * @author NAVER ([email protected])
6
 * @brief  Krzip module admin controller class.
7
 */
8
9
class krzipAdminController extends krzip
10
{
11
	function procKrzipAdminInsertConfig()
12
	{
13
		$module_config = Context::getRequestVars();
14
		getDestroyXeVars($module_config);
15
		unset($module_config->module);
16
		unset($module_config->act);
17
		unset($module_config->mid);
18
		unset($module_config->vid);
19
20
		$oKrzipController = getController('krzip');
21
		$output = $oKrzipController->updateConfig($module_config);
22
		if(!$output->toBool())
23
		{
24
			return $output;
25
		}
26
27
		$success_return_url = Context::get('success_return_url');
28
		if($success_return_url)
29
		{
30
			$return_url = $success_return_url;
31
		}
32
		else
33
		{
34
			$return_url = getNotEncodedUrl('', 'module', 'krzip', 'act', 'dispKrzipAdminConfig');
35
		}
36
37
		$this->setMessage('success_registed');
38
		$this->setRedirectUrl($return_url);
39
	}
40
}
41
42
/* End of file krzip.admin.controller.php */
43
/* Location: ./modules/krzip/krzip.admin.controller.php */
44