Code Duplication    Length = 3-3 lines in 3 locations

apps/user_ldap/lib/Access.php 3 locations

@@ 1708-1710 (lines=3) @@
1705
	private function convertObjectGUID2Str($oguid) {
1706
		$hex_guid = bin2hex($oguid);
1707
		$hex_guid_to_guid_str = '';
1708
		for($k = 1; $k <= 4; ++$k) {
1709
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1710
		}
1711
		$hex_guid_to_guid_str .= '-';
1712
		for($k = 1; $k <= 2; ++$k) {
1713
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
@@ 1712-1714 (lines=3) @@
1709
			$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
1710
		}
1711
		$hex_guid_to_guid_str .= '-';
1712
		for($k = 1; $k <= 2; ++$k) {
1713
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1714
		}
1715
		$hex_guid_to_guid_str .= '-';
1716
		for($k = 1; $k <= 2; ++$k) {
1717
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
@@ 1716-1718 (lines=3) @@
1713
			$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
1714
		}
1715
		$hex_guid_to_guid_str .= '-';
1716
		for($k = 1; $k <= 2; ++$k) {
1717
			$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
1718
		}
1719
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
1720
		$hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
1721