Merge pull request #10705 from eileenmcnaughton/kill_switch_setting
[civicrm-core.git] / CRM / Core / Smarty.php
index 83cb9c135d3bbe13dc82821c544e46f5a15feb11..258f1abb472d44c02766a4a97b6ce7cfe2f652f1 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
  * $Id$
  *
  */
@@ -317,6 +317,11 @@ class CRM_Core_Smarty extends Smarty {
     return $this;
   }
 
+  /**
+   * Get the locale for translation.
+   *
+   * @return string
+   */
   private function getLocale() {
     $tsLocale = CRM_Core_I18n::getLocale();
     if (!empty($tsLocale)) {