Commit Graph

10 Commits

Author SHA1 Message Date
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin 91a92d8e5e \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin 89e5ecbcdf The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
markjcrane 49a53db5d1 If the event socket information is not set then use the defaults. 2016-04-15 18:22:28 -06:00
markjcrane 3efb6881db Add missing 'this' 2016-04-15 18:07:47 -06:00
markjcrane e8640966fd Add the switch default settings in a more efficient way. 2016-04-15 17:59:34 -06:00
markjcrane 69d36b806d Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane 70524407a6 Update the constructor and $db connection handling in the groups and switch_settings classes. 2016-04-14 22:38:28 -06:00
markjcrane fb9a02376e Prevent switch duplicates. 2016-04-02 20:28:45 -06:00
markjcrane 7aeeda0e15 Rename to the switch_settings class. 2016-04-02 20:11:51 -06:00