Merge pull request #71 from dpradeep/merge-20140930
[civicrm-core.git] / CRM / Report / Form / Event.php
index e804ba110a7ed383df77b01c6f390b94955e6512..87ea62873ef9138b6190ad5276381ec62cf68bfd 100644 (file)
@@ -2,9 +2,9 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
 class CRM_Report_Form_Event extends CRM_Report_Form {
-  /**
-   * Get a standardized array of <select> options for "Event Title"
-   * filter values.
-   * @return Array
-   */
-  function getEventFilterOptions() {
-    $events = array();
-    $query = "
-        select id, start_date, title from civicrm_event
-        where (is_template IS NULL OR is_template = 0) AND is_active
-        order by title ASC, start_date
-    ";
-    $dao = CRM_Core_DAO::executeQuery($query);
-    while($dao->fetch()) {
-       $events[$dao->id] = "{$dao->title} - " . CRM_Utils_Date::customFormat(substr($dao->start_date, 0, 10)) . " (ID {$dao->id})";
-    }
-    return $events;
-  }
+  // Nothing here.
+  // FIXME: Do these reports really have nothing in common? Really?
 }