Merge pull request #23981 from eileenmcnaughton/act_seq
[civicrm-core.git] / CRM / Contribute / Exception / InactiveContributionPageException.php
index 742d1b0b374a580e1fac7920fb84204313c08d0c..828a5c5798e059351bd1dc217d71fc060d4cb57c 100644 (file)
@@ -9,13 +9,23 @@
 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;
   }
+
 }