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 11c2176a15
commit 1f609dc806
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
/** /**
* events class provides an event system * events class provides an event system
* *
* @method void load_plugins * @method void load_plugins
* @method dynamic __call * @method dynamic __call
*/ */
@ -94,8 +94,8 @@ class events {
* @param string $args * @param string $args
* *
*/ */
public function __call($method, $args) { public function __call($method, $args) {
if (! key_exists($method, $this->methods)) { if (! key_exists($method, $this->methods)) {
throw new Exception ("Call to undefined method: " . $method); throw new Exception ("Call to undefined method: " . $method);
} }
array_unshift($args, $this); array_unshift($args, $this);

View File

@ -163,7 +163,7 @@
$z++; $z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_description"; $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]['name']['deprecated'] = "menu_item_desc";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++; $z++;

View File

@ -127,7 +127,7 @@
$y++; $y++;
$apps[$x]['permissions'][$y]['name'] = "user_setting_category_edit"; $apps[$x]['permissions'][$y]['name'] = "user_setting_category_edit";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//schema details //schema details
$y = 0; //table array index $y = 0; //table array index
$z = 0; //field array index $z = 0; //field array index