Avoid CiviCRM running full drupal cache flush, as this results in CiviCRM clobbering...
[civicrm-core.git] / CRM / Profile / Page / View.php
index 14709c61bae2bd4f662207ca7f6762742266ad3b..2bd0b0c0ad2c28ff79e0376b0e6217ae41349540 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
 class CRM_Profile_Page_View extends CRM_Core_Page {
 
   /**
-   * The id of the contact
+   * The id of the contact.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The group id that we are editing
+   * The group id that we are editing.
    *
    * @var int
    */
@@ -119,8 +119,9 @@ class CRM_Profile_Page_View extends CRM_Core_Page {
         );
       }
       if (CRM_Core_Permission::ufGroupValid($this->_gid,
-          CRM_Core_Permission::SEARCH
-        )) {
+        CRM_Core_Permission::SEARCH
+      )
+      ) {
         $this->assign('listingURL',
           CRM_Utils_System::url("civicrm/profile",
             "force=1&gid={$gidString}"
@@ -197,7 +198,7 @@ class CRM_Profile_Page_View extends CRM_Core_Page {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
@@ -222,4 +223,5 @@ class CRM_Profile_Page_View extends CRM_Core_Page {
     $fileName = $this->checkTemplateFileExists('extra.');
     return $fileName ? $fileName : parent::overrideExtraTemplateFileName();
   }
+
 }