@@ -13,8 +13,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 { |