From 2b70305fc4ddb9fb976bed36f5b54fd4a175b875 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Thu, 5 Apr 2018 15:26:53 +0200
Subject: [PATCH] Revert ":ambulance: fix(objectTypes) Make sure objectTypes
 are stored in uppercase"

This reverts commit 5f8750683d3aaa7135e0f97fa5ee0fbcb449d1a8.
---
 include/class_pluglist.inc | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/include/class_pluglist.inc b/include/class_pluglist.inc
index 8504665ca..8526bdde8 100644
--- a/include/class_pluglist.inc
+++ b/include/class_pluglist.inc
@@ -147,20 +147,6 @@ class pluglist {
         if (!isset($infos['plTitle']) && isset($infos['plShortName'])) {
           $infos['plTitle'] = $infos['plShortName'];
         }
-        if (isset($infos['plObjectType'])) {
-          /* Convert object types to uppercase */
-          foreach (array_keys($infos['plObjectType']) as $key) {
-            if (is_numeric($key)) {
-              $infos['plObjectType'][$key] = strtoupper($infos['plObjectType'][$key]);
-            } else {
-              $newkey = strtoupper($key);
-              if ($newkey != $key) {
-                $infos['plObjectType'][$newkey] = $infos['plObjectType'][$key];
-                unset($infos['plObjectType'][$key]);
-              }
-            }
-          }
-        }
         $infos['plForeignRefs']         = array();
         $infos['INDEX']                 = $index;
         $this->info[$cname]             = $infos;
-- 
GitLab