Completed
Push — master ( b69818...509c9c )
by Seth
20:37 queued 15:58
created
index.php 1 patch
Spacing   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,8 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 /* store any requested actions for future handling */
15 15
 $action = (empty($_REQUEST['action']) ?
16
-    ACTION_UNSPECIFIED :
17
-    strtolower($_REQUEST['action'])
16
+    ACTION_UNSPECIFIED : strtolower($_REQUEST['action'])
18 17
 );
19 18
 
20 19
 /* action requests only come from outside the LTI! */
@@ -42,8 +41,7 @@  discard block
 block discarded – undo
42 41
 /* if not authenticated, default to showing credentials */
43 42
 } else {
44 43
     $action = (empty($action) ?
45
-        ACTION_CONFIG :
46
-        $action
44
+        ACTION_CONFIG : $action
47 45
     );
48 46
 }
49 47
 
@@ -53,7 +51,7 @@  discard block
 block discarded – undo
53 51
     /* reset cached install data from config file */
54 52
     case ACTION_INSTALL: {
55 53
         $_SESSION['toolbox'] = Toolbox::fromConfiguration(CONFIG_FILE, true);
56
-        $toolbox =& $_SESSION['toolbox'];
54
+        $toolbox = & $_SESSION['toolbox'];
57 55
 
58 56
         /* test to see if we can connect to the API */
59 57
         try {
Please login to merge, or discard this patch.