X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FForm%2FContribute%2FLoggingDetail.php;h=acf862cb3e8c3e8454cf347ef6606a1b98245e63;hb=d3c71b2f4fb869348bdaf270fc02fdc4f29b8641;hp=276689a514aa7c423cc733988ed595215e99a0c4;hpb=8960f050bc875db30ec426da1c95a281e5d2bb50;p=civicrm-core.git diff --git a/CRM/Report/Form/Contribute/LoggingDetail.php b/CRM/Report/Form/Contribute/LoggingDetail.php index 276689a514..acf862cb3e 100644 --- a/CRM/Report/Form/Contribute/LoggingDetail.php +++ b/CRM/Report/Form/Contribute/LoggingDetail.php @@ -2,9 +2,9 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -29,11 +29,14 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * $Id$ * */ class CRM_Report_Form_Contribute_LoggingDetail extends CRM_Logging_ReportDetail { + /** + * + */ function __construct() { $logging = new CRM_Logging_Schema; $this->tables[] = 'civicrm_contribution'; @@ -51,15 +54,5 @@ class CRM_Report_Form_Contribute_LoggingDetail extends CRM_Logging_ReportDetail // link back to summary report $this->assign('backURL', CRM_Report_Utils_Report::getNextUrl('logging/contribute/summary', 'reset=1', FALSE, TRUE)); } - - protected function whoWhomWhenSql() { - return " - SELECT who.id who_id, who.display_name who_name, whom.id whom_id, whom.display_name whom_name - FROM `{$this->db}`.log_civicrm_contribution l - LEFT JOIN civicrm_contact who ON (l.log_user_id = who.id) - LEFT JOIN civicrm_contact whom ON (l.contact_id = whom.id) - WHERE log_action = 'Update' AND log_conn_id = %1 AND log_date = %2 ORDER BY log_date DESC LIMIT 1 - "; - } }