Merge pull request #1471 from mafoo/WhitespaceClean-core/batch

WhitespaceClean-core/batch
This commit is contained in:
FusionPBX 2016-03-11 13:35:06 -07:00
commit 80063e00bf
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