When 'dev' or 'all' error level is set in the config.conf file, the menu will fail to expand or contract. This commit adds the missing variable causing a PHP warning responsible for the behavior.
When an XML CDR record is zero bytes that is recorded in the /var/log/freeswitch/xml_cdr directory, the xml_cdr class would fail to move the file. This causes the record files to eventually build up to where the files can exceed the import limit. This adjustment moves the sanity checking for `filesize` to before the import attempt and checks for over limit and zero bytes. If those conditions match the file is moved to the "failed" folder.
* fix php warnings in the menu class
* remove an unreachable statement
* update the menu_horizontal function to use settings
* use a single text object
* update menu_side_state to use the default value of contracted
* remove unused variable
* use variables for menu_side_state
* remove unused variable
* remove whitespace
* remove unused variable
* check for user UUID and domain UUID passed to the constructor
* update docs
Use the singleton database object with database::new syntax
Pass the connected database object to the settings object so settings object does not have to create another connection