Merge pull request #4556 from jitendrapurohit/CRM-15586
[civicrm-core.git] / CRM / Mailing / Page / Confirm.php
index 6f5b3409e31ee85077c3e934f2cca92883290822..e8e9f9d7a417f02f7afd67cb0d3b3ae40d87fdda 100644 (file)
  *
  */
 class CRM_Mailing_Page_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);