*
*/
class CRM_Campaign_Page_Petition_Confirm extends CRM_Core_Page {
+ /**
+ * @return string
+ * @throws Exception
+ */
function run() {
+ CRM_Utils_System::addHTMLHead('<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">');
+
$contact_id = CRM_Utils_Request::retrieve('cid', 'Integer', CRM_Core_DAO::$_nullObject);
$subscribe_id = CRM_Utils_Request::retrieve('sid', 'Integer', CRM_Core_DAO::$_nullObject);
$hash = CRM_Utils_Request::retrieve('h', 'String', CRM_Core_DAO::$_nullObject);
* @param int $subscribe_id The id of the subscription event
* @param string $hash The hash
*
- * @param $activity_id
- * @param $petition_id
+ * @param int $activity_id
+ * @param int $petition_id
*
* @return boolean True on success
* @access public