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/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

modules/document/document.model.php 1 location

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