From ffc6bfcb2b0318c063e0616cf969d2618a5f5034 Mon Sep 17 00:00:00 2001 From: mafoo Date: Fri, 11 Mar 2016 12:06:20 +0000 Subject: [PATCH] WhitespaceClean-core/batch whitespace pass over files for reference regex that was used s/[ \t]+(\r?\n)/\1/ --- core/events/resources/classes/events.php | 6 +++--- core/menu/app_config.php | 2 +- core/users/app_config.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/events/resources/classes/events.php b/core/events/resources/classes/events.php index 87ddde6276..72025e1480 100644 --- a/core/events/resources/classes/events.php +++ b/core/events/resources/classes/events.php @@ -2,7 +2,7 @@ /** * events class provides an event system - * + * * @method void load_plugins * @method dynamic __call */ @@ -94,8 +94,8 @@ class events { * @param string $args * */ - public function __call($method, $args) { - if (! key_exists($method, $this->methods)) { + public function __call($method, $args) { + if (! key_exists($method, $this->methods)) { throw new Exception ("Call to undefined method: " . $method); } array_unshift($args, $this); diff --git a/core/menu/app_config.php b/core/menu/app_config.php index 4df51814ad..e97287aab1 100644 --- a/core/menu/app_config.php +++ b/core/menu/app_config.php @@ -163,7 +163,7 @@ $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_description"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_desc"; - + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; diff --git a/core/users/app_config.php b/core/users/app_config.php index 1bebf83a0c..f47beab300 100644 --- a/core/users/app_config.php +++ b/core/users/app_config.php @@ -127,7 +127,7 @@ $y++; $apps[$x]['permissions'][$y]['name'] = "user_setting_category_edit"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; - + //schema details $y = 0; //table array index $z = 0; //field array index