Merge pull request #4979 from xurizaemon/codingstandards-12
[civicrm-core.git] / CRM / Admin / Page / Setting.php
index 2b831f9626af3e2c360329c6417f90d0979854d2..a528fc005d6070d0dee0261a20e236788f244af3 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -41,11 +41,10 @@ class CRM_Admin_Page_Setting extends CRM_Core_Page {
    * @return string
    * @throws Exception
    */
-  function run() {
+  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();
   }
 }
-