Code Duplication    Length = 3-3 lines in 3 locations

apps/user_ldap/lib/Access.php 3 locations

@@ 1593-1595 (lines=3) @@
1590
	private function convertObjectGUID2Str($oguid) {
1591
		$hex_guid = bin2hex($oguid);
1592
		$hex_guid_to_guid_str = '';
1593
		for($k = 1; $k <= 4; ++$k) {
1594
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1595
		}
1596
		$hex_guid_to_guid_str .= '-';
1597
		for($k = 1; $k <= 2; ++$k) {
1598
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
@@ 1597-1599 (lines=3) @@
1594
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1595
		}
1596
		$hex_guid_to_guid_str .= '-';
1597
		for($k = 1; $k <= 2; ++$k) {
1598
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1599
		}
1600
		$hex_guid_to_guid_str .= '-';
1601
		for($k = 1; $k <= 2; ++$k) {
1602
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
@@ 1601-1603 (lines=3) @@
1598
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1599
		}
1600
		$hex_guid_to_guid_str .= '-';
1601
		for($k = 1; $k <= 2; ++$k) {
1602
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
1603
		}
1604
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
1605
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
1606