Merge pull request #5643 from rohankatkar/CRM-16291
[civicrm-core.git] / tests / extensions / test.extension.manager.reporttest / main.php
index 4edf0d4acf903f6357d09b9f855fcf769c3d246f..66e29af22cabd1f1c5db3442de9f938c8539b8cc 100644 (file)
@@ -5,9 +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';
@@ -25,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);
 
@@ -54,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
         ";
   }
+
 }