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 = 18-18 lines in 3 locations

modules/member/member.controller.php 3 locations

@@ 871-888 (lines=18) @@
868
	 *
869
	 * @return Object
870
	 */
871
	function procMemberDeleteProfileImage($_memberSrl = 0)
872
	{
873
		$member_srl = ($_memberSrl) ? $_memberSrl : Context::get('member_srl');
874
		if(!$member_srl)
875
		{
876
			return new Object(0,'success');
877
		}
878
879
		$logged_info = Context::get('logged_info');
880
881
		if($logged_info && ($logged_info->is_admin == 'Y' || $logged_info->member_srl == $member_srl))
882
		{
883
			$oMemberModel = getModel('member');
884
			$profile_image = $oMemberModel->getProfileImage($member_srl);
885
			FileHandler::removeFile($profile_image->file);
886
		}
887
		return new Object(0,'success');
888
	}
889
890
	/**
891
	 * Delete Image name
@@ 895-912 (lines=18) @@
892
	 *
893
	 * @return void
894
	 */
895
	function procMemberDeleteImageName($_memberSrl = 0)
896
	{
897
		$member_srl = ($_memberSrl) ? $_memberSrl : Context::get('member_srl');
898
		if(!$member_srl)
899
		{
900
			return new Object(0,'success');
901
		}
902
903
		$logged_info = Context::get('logged_info');
904
905
		if($logged_info && ($logged_info->is_admin == 'Y' || $logged_info->member_srl == $member_srl))
906
		{
907
			$oMemberModel = getModel('member');
908
			$image_name = $oMemberModel->getImageName($member_srl);
909
			FileHandler::removeFile($image_name->file);
910
		}
911
		return new Object(0,'success');
912
	}
913
914
	/**
915
	 * Add an image to mark
@@ 980-997 (lines=18) @@
977
	 *
978
	 * @return Object
979
	 */
980
	function procMemberDeleteImageMark($_memberSrl = 0)
981
	{
982
		$member_srl = ($_memberSrl) ? $_memberSrl : Context::get('member_srl');
983
		if(!$member_srl)
984
		{
985
			return new Object(0,'success');
986
		}
987
988
		$logged_info = Context::get('logged_info');
989
990
		if($logged_info && ($logged_info->is_admin == 'Y' || $logged_info->member_srl == $member_srl))
991
		{
992
			$oMemberModel = getModel('member');
993
			$image_mark = $oMemberModel->getImageMark($member_srl);
994
			FileHandler::removeFile($image_mark->file);
995
		}
996
		return new Object(0,'success');
997
	}
998
999
	/**
1000
	 * Find ID/Password