Cleanup phpdoc comments
[civicrm-core.git] / CRM / Campaign / Page / Petition / Confirm.php
index 1ae146c23ed4a37508597b7413a5586c99efcf94..0e13d6c1524550714d992f2cd4069d4c57333b26 100644 (file)
  *
  */
 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);
@@ -88,8 +94,8 @@ class CRM_Campaign_Page_Petition_Confirm extends CRM_Core_Page {
    * @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