Index: trunk/extensions/OpenStackManager/OpenStackNovaDomain.php |
— | — | @@ -41,20 +41,6 @@ |
42 | 42 | return $this->fqdn; |
43 | 43 | } |
44 | 44 | |
45 | | - function getHosts() { |
46 | | - global $wgAuth; |
47 | | - |
48 | | - # Domains can have records as sub entries. If sub-entries exist, fail. |
49 | | - $result = ldap_list( $wgAuth->ldapconn, $this->domainDN, 'objectclass=*' ); |
50 | | - $hostsLDAP = ldap_get_entries( $wgAuth->ldapconn, $result ); |
51 | | - array_shift( $hostsLDAP ); |
52 | | - foreach ( $hostsLDAP as $hostLDAP ) { |
53 | | - $hosts[] = new OpenStackNovaHost( $hostLDAP[0]['dc'] ); // FIXME: Missing constructor parameter |
54 | | - } |
55 | | - |
56 | | - return $hosts; |
57 | | - } |
58 | | - |
59 | 45 | function updateSOA() { |
60 | 46 | global $wgAuth; |
61 | 47 | |