group assignments, and add some better comments.
authorJulia Longtin <julial@turinglace.com>
Tue, 26 Jan 2016 23:23:26 +0000 (23:23 +0000)
committerJulia Longtin <julial@turinglace.com>
Wed, 27 Jan 2016 00:19:13 +0000 (00:19 +0000)
CRM/Dashlet/Page/GettingStarted.php

index 45cb31eb3f6b7e8c72f45a14153801f75a8ab415..6b82460708984276de660318b05ca16fcb09f30e 100644 (file)
@@ -71,10 +71,12 @@ class CRM_Dashlet_Page_GettingStarted extends CRM_Core_Page {
    */
   public function run() {
     $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet');
-    $this->assign('context', $context);
 
+    // Assign smarty variables.
+    $this->assign('context', $context);
     $this->assign('gettingStarted', $this->_gettingStarted());
 
+    // Use smarty to generate page.
     return parent::run();
   }