Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 394 → Rev 395

/trunk/plugins/adminPages/120_registration/OIDplusPageAdminRegistration.class.php
261,8 → 261,12
$res = OIDplus::db()->query("select id from ###objects where " .
"parent = 'oid:' or " .
// The following two cases are special cases e.g. if there are multiple PEN or UUID-OIDs, and the system owner decides to use the IANA PEN as root OID, but actually, it is not "his" root then! The OIDs inside the IANA PEN root are his root then!
// (we assume hereby that RAs of well-known OIDs (e.g. IANA) will not use OIDplus for allocating OIDs)
"parent in (select oid from ###asn1id where well_known = 1) or " .
"parent in (select oid from ###iri where well_known = 1) " .
"parent in (select oid from ###iri where well_known = 1) or " .
"id not in (select oid from ###asn1id where well_known = 1) or " .
"id not in (select oid from ###iri where well_known = 1) " .
// End of the special case handling
"order by ".OIDplus::db()->natOrder('id'));
while ($row = $res->fetch_array()) {
$root_oids[] = substr($row['id'],strlen('oid:'));