Completed
Push — master ( 1de524...b69818 )
by Seth
04:38
created
index.php 1 patch
Spacing   +4 added lines, -6 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! */
@@ -30,7 +29,7 @@  discard block
 block discarded – undo
30 29
     @session_unset();
31 30
     @session_start();
32 31
     @session_regenerate_id(true);
33
-    $_SESSION[Toolbox::class] =& $toolbox;
32
+    $_SESSION[Toolbox::class] = & $toolbox;
34 33
     session_write_close();
35 34
     $toolbox->lti_authenticate();
36 35
     exit;
@@ -49,8 +48,7 @@  discard block
 block discarded – undo
49 48
 /* if not authenticated, default to showing credentials */
50 49
 } else {
51 50
     $action = (empty($action) ?
52
-        ACTION_CONFIG :
53
-        $action
51
+        ACTION_CONFIG : $action
54 52
     );
55 53
 }
56 54
 
@@ -60,7 +58,7 @@  discard block
 block discarded – undo
60 58
     /* reset cached install data from config file */
61 59
     case ACTION_INSTALL: {
62 60
         $_SESSION['toolbox'] = Toolbox::fromConfiguration(CONFIG_FILE, true);
63
-        $toolbox =& $_SESSION['toolbox'];
61
+        $toolbox = & $_SESSION['toolbox'];
64 62
 
65 63
         /* test to see if we can connect to the API */
66 64
         try {
Please login to merge, or discard this patch.