Merge branch '4.4' of https://github.com/civicrm/civicrm-core into 4.5
[civicrm-core.git] / bin / deprecated / UpdatePledgeRecord.php
index c64ee715f9a17c991ecf19bbb8705578c8fb5d4b..eafc94cb9e9e65f50789c62612c48dd0a149bf99 100644 (file)
 
 require_once '../civicrm.config.php';
 require_once 'CRM/Core/Config.php';
+
+/**
+ * Class CRM_UpdatePledgeRecord
+ */
 class CRM_UpdatePledgeRecord {
+  /**
+   *
+   */
   function __construct() {
     $config = CRM_Core_Config::singleton();
     // this does not return on failure
@@ -49,6 +56,11 @@ class CRM_UpdatePledgeRecord {
     CRM_Core_Error::debug_log_message('UpdatePledgeRecord.php');
   }
 
+  /**
+   * @param bool $sendReminders
+   *
+   * @throws Exception
+   */
   public function updatePledgeStatus($sendReminders = FALSE) {
 
     // *** Uncomment the next line if you want automated reminders to be sent