Code Duplication    Length = 3-3 lines in 3 locations

apps/user_ldap/lib/Access.php 3 locations

@@ 1648-1650 (lines=3) @@
1645
	private function convertObjectGUID2Str($oguid) {
1646
		$hex_guid = bin2hex($oguid);
1647
		$hex_guid_to_guid_str = '';
1648
		for($k = 1; $k <= 4; ++$k) {
1649
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1650
		}
1651
		$hex_guid_to_guid_str .= '-';
1652
		for($k = 1; $k <= 2; ++$k) {
1653
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
@@ 1652-1654 (lines=3) @@
1649
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1650
		}
1651
		$hex_guid_to_guid_str .= '-';
1652
		for($k = 1; $k <= 2; ++$k) {
1653
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1654
		}
1655
		$hex_guid_to_guid_str .= '-';
1656
		for($k = 1; $k <= 2; ++$k) {
1657
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
@@ 1656-1658 (lines=3) @@
1653
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1654
		}
1655
		$hex_guid_to_guid_str .= '-';
1656
		for($k = 1; $k <= 2; ++$k) {
1657
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
1658
		}
1659
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
1660
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
1661