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

modules/document/document.controller.php 2 locations

@@ 2301-2306 (lines=6) @@
2298
		{
2299
			$oDB = &DB::getInstance();
2300
			$oDB->begin();
2301
			for($i=0;$i<$document_srl_count;$i++)
2302
			{
2303
				$document_srl = $document_srl_list[$i];
2304
				$output = $this->deleteDocument($document_srl, true);
2305
				if(!$output->toBool()) return new Object(-1, 'fail_to_delete');
2306
			}
2307
			$oDB->commit();
2308
			$msg_code = 'success_deleted';
2309
		}
@@ 2317-2321 (lines=5) @@
2314
2315
			$oDB = &DB::getInstance();
2316
			$oDB->begin();
2317
			for($i=0;$i<$document_srl_count;$i++) {
2318
				$args->document_srl = $document_srl_list[$i];
2319
				$output = $this->moveDocumentToTrash($args);
2320
				if(!$output || !$output->toBool()) return new Object(-1, 'fail_to_trash');
2321
			}
2322
			$oDB->commit();
2323
			$msg_code = 'success_trashed';
2324
		}