Revision 48ed2487
Added by Scott Ullrich over 19 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
895 | 895 |
return $xmlconfig; |
896 | 896 |
} |
897 | 897 |
|
898 |
/* |
|
899 |
* backup_config_ts_scheduler(): returns the traffic shaper scheduler for backup |
|
900 |
*/ |
|
901 |
function backup_config_ts_scheduler() { |
|
902 |
global $config; |
|
903 |
$new_section = &$config['system']['schedulertype']; |
|
904 |
/* generate configuration XML */ |
|
905 |
$xmlconfig = dump_xml_config($new_section, $section); |
|
906 |
$xmlconfig = str_replace("<?xml version=\"1.0\"?>", "", $xmlconfig); |
|
907 |
return $xmlconfig; |
|
908 |
} |
|
909 |
|
|
910 | 898 |
/* |
911 | 899 |
* backup_config_section($section): returns as an xml file string of |
912 | 900 |
* the configuration section |
Also available in: Unified diff
Remove unused function