Completed
Push — develop ( 675582...3fb650 )
by Seth
03:09
created
control-panel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             $hacks[$item] = new CanvasHack($sql, $path);
30 30
         } catch (CanvasHack_Exception $e) {
31 31
             $smarty->addMessage(
32
-                'CanvasHack Manifest Error ['. $e->getCode() . ']',
32
+                'CanvasHack Manifest Error [' . $e->getCode() . ']',
33 33
                 $e->getMessage(),
34 34
                 NotificationMessage::ERROR
35 35
             );
Please login to merge, or discard this patch.
common.inc.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@  discard block
 block discarded – undo
13 13
 
14 14
 /* prepare the toolbox */
15 15
 if (empty($_SESSION[Toolbox::class])) {
16
-    $_SESSION[Toolbox::class] =& Toolbox::fromConfiguration(CONFIG_FILE);
16
+    $_SESSION[Toolbox::class] = & Toolbox::fromConfiguration(CONFIG_FILE);
17 17
 }
18
-$toolbox =& $_SESSION[Toolbox::class];
18
+$toolbox = & $_SESSION[Toolbox::class];
19 19
 $toolbox->smarty_prependTemplateDir(__DIR__ . '/templates', basename(__DIR__));
20 20
 $toolbox->smarty_assign([
21 21
     'category' => DataUtilities::titleCase(preg_replace('/[\-_]+/', ' ', basename(__DIR__)))
@@ -24,10 +24,10 @@  discard block
 block discarded – undo
24 24
 /*
25 25
  * FIXME convience variables until plugins are all updated
26 26
  */
27
- $api =& $toolbox->getAPI();
28
- $sql =& $toolbox->getMySQL();
29
- $smarty =& $toolbox->getSmarty();
30
- $customPrefs =& $toolbox->getCustomPrefs();
27
+ $api = & $toolbox->getAPI();
28
+ $sql = & $toolbox->getMySQL();
29
+ $smarty = & $toolbox->getSmarty();
30
+ $customPrefs = & $toolbox->getCustomPrefs();
31 31
 
32 32
 /* set the Tool Consumer's instance URL, if present */
33 33
 if (empty($_SESSION[CANVAS_INSTANCE_URL]) &&
Please login to merge, or discard this patch.