Skip to content

Commit

Permalink
Fix(Core): remove uselss and non-functional injection (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored Oct 21, 2024
1 parent 9dd33b5 commit 2436496
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions inc/object.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,6 @@ public static function registerType()
array_push($CFG_GLPI['asset_types'], $class);
}

if (!in_array($class, $CFG_GLPI['state_types'])) {
array_push($CFG_GLPI['state_types'], $class);
}

if (!in_array($class, $CFG_GLPI['globalsearch_types'])) {
array_push($CFG_GLPI['globalsearch_types'], $class);
}
Expand Down

0 comments on commit 2436496

Please sign in to comment.