Code Duplication    Length = 3-3 lines in 3 locations

apps/user_ldap/lib/access.php 3 locations

@@ 1390-1392 (lines=3) @@
1387
	private function convertObjectGUID2Str($oguid) {
1388
		$hex_guid = bin2hex($oguid);
1389
		$hex_guid_to_guid_str = '';
1390
		for($k = 1; $k <= 4; ++$k) {
1391
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1392
		}
1393
		$hex_guid_to_guid_str .= '-';
1394
		for($k = 1; $k <= 2; ++$k) {
1395
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
@@ 1394-1396 (lines=3) @@
1391
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1392
		}
1393
		$hex_guid_to_guid_str .= '-';
1394
		for($k = 1; $k <= 2; ++$k) {
1395
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1396
		}
1397
		$hex_guid_to_guid_str .= '-';
1398
		for($k = 1; $k <= 2; ++$k) {
1399
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
@@ 1398-1400 (lines=3) @@
1395
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1396
		}
1397
		$hex_guid_to_guid_str .= '-';
1398
		for($k = 1; $k <= 2; ++$k) {
1399
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
1400
		}
1401
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
1402
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
1403