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

modules/document/document.model.php 1 location

@@ 995-1014 (lines=20) @@
992
	 * @param int $module_srl
993
	 * @return string
994
	 */
995
	function getCategoryHTML($module_srl)
996
	{
997
		$category_xml_file = $this->getCategoryXmlFile($module_srl);
998
999
		Context::set('category_xml_file', $category_xml_file);
1000
1001
		Context::loadJavascriptPlugin('ui.tree');
1002
1003
		// Get a list of member groups
1004
		$oMemberModel = getModel('member');
1005
		$group_list = $oMemberModel->getGroups($module_info->site_srl);
1006
		Context::set('group_list', $group_list);
1007
1008
		$security = new Security();
1009
		$security->encodeHTML('group_list..title');
1010
1011
		// Get information of module_grants
1012
		$oTemplate = &TemplateHandler::getInstance();
1013
		return $oTemplate->compile($this->module_path.'tpl', 'category_list');
1014
	}
1015
1016
	/**
1017
	 * Certain categories of information, return the template guhanhu

modules/seo/seo.view.php 1 location

@@ 4-18 (lines=15) @@
1
<?php
2
class seoView extends seo
3
{
4
	function triggerDispSeoAdditionSetup(&$obj)
5
	{
6
		$current_module_srl = Context::get('module_srl');
7
		$current_module_srls = Context::get('module_srls');
8
9
		$oModuleModel = getModel('module');
10
		$seo_module_part_config = $oModuleModel->getModulePartConfig('seo', $current_module_srl);
11
		Context::set('seo_module_part_config', $seo_module_part_config);
12
13
		$oTemplate = &TemplateHandler::getInstance();
14
		$tpl = $oTemplate->compile($this->module_path.'tpl', 'module_part_config');
15
		$obj .= $tpl;
16
17
		return new BaseObject();
18
	}
19
}
20
/* !End of file */
21