<?php
/*
+--------------------------------------------------------------------+
- | 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. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
class CRM_Member_BAO_MembershipLog extends CRM_Member_DAO_MembershipLog {
/**
- * function to add the membership log record
+ * Add the membership log record
*
* @param array $params reference array contains the values submitted by the form
* @param array $ids reference array contains the id
}
/**
- * Function to delete membership log record
+ * Delete membership log record
*
- * @param int $membershipTypeId
+ * @param int $membershipID
+ *
+ * @return mixed
* @static
*/
return $membershipLog->delete();
}
+ /**
+ * @param int $contactID
+ */
static function resetModifiedID($contactID) {
$query = "
UPDATE civicrm_membership_log