Code Duplication    Length = 3-3 lines in 3 locations

apps/user_ldap/lib/access.php 3 locations

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