We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dd33b5 commit 2436496Copy full SHA for 2436496
1 file changed
inc/object.class.php
@@ -247,10 +247,6 @@ public static function registerType()
247
array_push($CFG_GLPI['asset_types'], $class);
248
}
249
250
- if (!in_array($class, $CFG_GLPI['state_types'])) {
251
- array_push($CFG_GLPI['state_types'], $class);
252
- }
253
-
254
if (!in_array($class, $CFG_GLPI['globalsearch_types'])) {
255
array_push($CFG_GLPI['globalsearch_types'], $class);
256
0 commit comments