Merge pull request #4979 from xurizaemon/codingstandards-12
[civicrm-core.git] / CRM / Admin / Page / Setting.php
index 911f0437a8fd82a98ab921f0918bb8a24484566f..a528fc005d6070d0dee0261a20e236788f244af3 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  * Page for displaying list of categories for Settings
  */
 class CRM_Admin_Page_Setting extends CRM_Core_Page {
-  function run() {
+  /**
+   * @return string
+   * @throws Exception
+   */
+  public function run() {
     CRM_Core_Error::fatal('This page is deprecated. If you have followed a link or have been redirected here, please change link or redirect to Admin Console (/civicrm/admin?reset=1)');
     CRM_Utils_System::setTitle(ts("Global Settings"));
 
     return parent::run();
   }
 }
-