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

krzip::moduleInstall()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
3
/**
4
 * @class  krzip
5
 * @author NAVER ([email protected])
6
 * @brief  Krzip module high class.
7
 */
8
9
if(!function_exists('lcfirst'))
10
{
11
	function lcfirst($text)
12
	{
13
		return strtolower(substr($text, 0, 1)) . substr($text, 1);
14
	}
15
}
16
17
class krzip extends ModuleObject
18
{
19
	public static $sequence_id = 0;
20
21
	public static $default_config = array('api_handler' => 0, 'postcode_format' => 5, 'show_box' => 'all');
22
23
	public static $api_list = array('daumapi', 'epostapi');
24
25
	public static $epostapi_host = 'http://biz.epost.go.kr/KpostPortal/openapi';
26
27
	function moduleInstall()
28
	{
29
		return $this->makeObject();
30
	}
31
32
	function moduleUninstall()
33
	{
34
		return $this->makeObject();
35
	}
36
37
	function checkUpdate()
38
	{
39
		return FALSE;
40
	}
41
42
	function moduleUpdate()
43
	{
44
		return $this->makeObject();
45
	}
46
47
	public function makeObject($code = 0, $message = 'success')
48
	{
49
		return class_exists('BaseObject') ? new BaseObject($code, $message) : new Object($code, $message);
50
	}
51
}
52
53
/* End of file krzip.class.php */
54
/* Location: ./modules/krzip/krzip.class.php */
55