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

modules/board/board.mobile.php 1 location

@@ 32-52 (lines=21) @@
29
30
		// use_category <=1.5.x, hide_category >=1.7.x
31
		$count_category = count($oDocumentModel->getCategoryList($this->module_info->module_srl));
32
		if($count_category)
33
		{
34
			if($this->module_info->hide_category)
35
			{
36
				$this->module_info->use_category = ($this->module_info->hide_category == 'Y') ? 'N' : 'Y';
37
			}
38
			else if($this->module_info->use_category)
39
			{
40
				$this->module_info->hide_category = ($this->module_info->use_category == 'Y') ? 'N' : 'Y';
41
			}
42
			else
43
			{
44
				$this->module_info->hide_category = 'N';
45
				$this->module_info->use_category = 'Y';
46
			}
47
		}
48
		else
49
		{
50
			$this->module_info->hide_category = 'Y';
51
			$this->module_info->use_category = 'N';
52
		}
53
54
		/**
55
		 * check the consultation function, if the user is admin then swich off consultation function

modules/board/board.view.php 1 location

@@ 51-71 (lines=21) @@
48
49
		// use_category <=1.5.x, hide_category >=1.7.x
50
		$count_category = count($oDocumentModel->getCategoryList($this->module_info->module_srl));
51
		if($count_category)
52
		{
53
			if($this->module_info->hide_category)
54
			{
55
				$this->module_info->use_category = ($this->module_info->hide_category == 'Y') ? 'N' : 'Y';
56
			}
57
			else if($this->module_info->use_category)
58
			{
59
				$this->module_info->hide_category = ($this->module_info->use_category == 'Y') ? 'N' : 'Y';
60
			}
61
			else
62
			{
63
				$this->module_info->hide_category = 'N';
64
				$this->module_info->use_category = 'Y';
65
			}
66
		}
67
		else
68
		{
69
			$this->module_info->hide_category = 'Y';
70
			$this->module_info->use_category = 'N';
71
		}
72
73
		/**
74
		 * check the consultation function, if the user is admin then swich off consultation function