Merge pull request #23981 from eileenmcnaughton/act_seq
[civicrm-core.git] / CRM / Contribute / Exception / InactiveContributionPageException.php
index 788ac732c40be9d56bfa28e5602daeb541ddb90b..828a5c5798e059351bd1dc217d71fc060d4cb57c 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * Created by PhpStorm.
  * User: eileen
@@ -7,13 +8,24 @@
  */
 class CRM_Contribute_Exception_InactiveContributionPageException extends Exception {
   private $id;
+
+  /**
+   * @param string $message
+   * @param int $id
+   */
   public function __construct($message, $id) {
-    parent::__construct(ts($message));
+    parent::__construct($message);
     $this->id = $id;
     CRM_Core_Error::debug_log_message('inactive contribution page access attempted - page number ' . $id);
   }
 
+  /**
+   * Get Contribution page ID.
+   *
+   * @return int
+   */
   public function getID() {
     return $this->id;
   }
+
 }