WhitespaceClean-core/batch

whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
This commit is contained in:
mafoo
2016-03-11 12:06:20 +00:00
parent 66ba2802bd
commit ffc6bfcb2b
3 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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++;

View File

@@ -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