Merge pull request #5643 from rohankatkar/CRM-16291
[civicrm-core.git] / tests / extensions / test.extension.manager.reporttest / main.php
index a0415cac889a33ccfb260b4a3e955afe55b6d876..66e29af22cabd1f1c5db3442de9f938c8539b8cc 100644 (file)
@@ -5,10 +5,10 @@
  */
 class test_extension_manager_reporttest extends CRM_Core_Report {
   /**
-   *
+   * Class constructor.
    */
-  function __construct() {
-    $logging        = new CRM_Logging_Schema;
+  public function __construct() {
+    $logging        = new CRM_Logging_Schema();
     $this->tables[] = 'civicrm_contact';
     $this->tables   = array_merge($this->tables, array_keys($logging->customDataLogTables()));
     $this->tables[] = 'civicrm_email';
@@ -26,7 +26,7 @@ class test_extension_manager_reporttest extends CRM_Core_Report {
     parent::__construct();
   }
 
-  function buildQuickForm() {
+  public function buildQuickForm() {
     $layout = CRM_Utils_Request::retrieve('layout', 'String', $this);
     $this->assign('layout', $layout);
 
@@ -55,4 +55,5 @@ class test_extension_manager_reporttest extends CRM_Core_Report {
             WHERE log_action = 'Update' AND log_conn_id = %1 AND log_date = %2 ORDER BY log_date DESC LIMIT 1
         ";
   }
+
 }