Subversion Repositories oidplus

Rev

Rev 661 | Rev 681 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 661 Rev 672
Line 492... Line 492...
492
                if (!in_array($ns, $init_ary)) {
492
                if (!in_array($ns, $init_ary)) {
493
                        // Was never initialized before, so we add it to the list of enabled object types once
493
                        // Was never initialized before, so we add it to the list of enabled object types once
494
 
494
 
495
                        if ($do_enable) {
495
                        if ($do_enable) {
496
                                $enabled_ary[] = $ns;
496
                                $enabled_ary[] = $ns;
-
 
497
                                // Important: Don't validate the input, because the other object types might not be initialized yet! So use setValueNoCallback() instead setValue().
497
                                OIDplus::config()->setValue("objecttypes_enabled", implode(';', $enabled_ary));
498
                                OIDplus::config()->setValueNoCallback("objecttypes_enabled", implode(';', $enabled_ary));
498
                        }
499
                        }
499
 
500
 
500
                        $init_ary[] = $ns;
501
                        $init_ary[] = $ns;
501
                        OIDplus::config()->setValue("objecttypes_initialized", implode(';', $init_ary));
502
                        OIDplus::config()->setValue("objecttypes_initialized", implode(';', $init_ary));
502
                }
503
                }