Completed
Branch master (03ec64)
by Brook
14:43
created
web/admin/inc/option_xhr.inc.php 1 patch
Switch Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -25,33 +25,33 @@
 block discarded – undo
25 25
     $list = $optioninfo->availableOptions($_GET["class"]);
26 26
 
27 27
     switch ($_GET['class']) {
28
-    case "general":
29
-        $blacklist_item = array_search("general:geo_coordinates", $list);
30
-        if ($blacklist_item !== FALSE) {
31
-            unset($list[$blacklist_item]);
32
-            $list = array_values($list);
33
-        }
34
-        break;
35
-    case "user":
36
-        $blacklist_item = array_search("user:fedadmin", $list);
37
-        if ($blacklist_item !== FALSE) {
38
-            unset($list[$blacklist_item]);
39
-            $list = array_values($list);
40
-        }
41
-        break;
42
-    case "eap":
43
-    case "support":
44
-    case "profile":
45
-    case "media":
46
-    case "fed":
47
-            $list = array_values($list);
48
-        break;
49
-    case "device-specific":
50
-    case "eap-specific":
51
-        break;
52
-    default:
53
-        debug(1,"Unknown type of option!");
54
-        exit(1);
28
+        case "general":
29
+            $blacklist_item = array_search("general:geo_coordinates", $list);
30
+            if ($blacklist_item !== FALSE) {
31
+                unset($list[$blacklist_item]);
32
+                $list = array_values($list);
33
+            }
34
+            break;
35
+        case "user":
36
+            $blacklist_item = array_search("user:fedadmin", $list);
37
+            if ($blacklist_item !== FALSE) {
38
+                unset($list[$blacklist_item]);
39
+                $list = array_values($list);
40
+            }
41
+            break;
42
+        case "eap":
43
+        case "support":
44
+        case "profile":
45
+        case "media":
46
+        case "fed":
47
+                $list = array_values($list);
48
+            break;
49
+        case "device-specific":
50
+        case "eap-specific":
51
+            break;
52
+        default:
53
+            debug(1,"Unknown type of option!");
54
+            exit(1);
55 55
     }
56 56
     // echo "<pre>".print_r($list)."</pre>";
57 57
 
Please login to merge, or discard this patch.