Traffic shaper wizards remove redirection before final step. This seems a forgotten item.

This commit is contained in:
Ermal 2010-10-20 15:13:47 +00:00
parent 7d30a315cb
commit ac87dbbf24
4 changed files with 13 additions and 24 deletions

View File

@ -555,9 +555,6 @@ function step8_stepsubmitphpaction() {
clear_subsystem_dirty('shaper');
update_filter_reload_status("Initializing");
/* Head over and check out the groovy queue stats */
header("Location: status_filter_reload.php");
}
function step9_stepsubmitphpaction() {
global $g, $config;

View File

@ -582,9 +582,6 @@ function step8_stepsubmitphpaction() {
clear_subsystem_dirty('shaper');
update_filter_reload_status("Initializing");
/* Head over and check out the groovy queue stats */
header("Location: status_filter_reload.php");
}
function step9_stepsubmitphpaction() {

View File

@ -598,27 +598,25 @@ function step5_stepsubmitphpaction() {
}
function step8_stepsubmitphpaction() {
global $g, $config;
global $g, $config;
/* save the new configuration */
apply_all_choosen_items();
/* save the new configuration */
apply_all_choosen_items();
/* reset rrd queues */
system("rm -f /var/db/rrd/*queuedrops.rrd");
system("rm -f /var/db/rrd/*queues.rrd");
enable_rrd_graphing();
/* reset rrd queues */
system("rm -f /var/db/rrd/*queuedrops.rrd");
system("rm -f /var/db/rrd/*queues.rrd");
enable_rrd_graphing();
/* apply the new configuration to the system */
filter_configure();
/* apply the new configuration to the system */
filter_configure();
/* And we're no longer dirty! */
clear_subsystem_dirty('shaper');
/* And we're no longer dirty! */
clear_subsystem_dirty('shaper');
update_filter_reload_status("Initializing");
/* Head over and check out the groovy queue stats */
header("Location: status_filter_reload.php");
update_filter_reload_status("Initializing");
}
function step9_stepsubmitphpaction() {
global $g, $config;
header("status_filter_reload.php");

View File

@ -397,9 +397,6 @@ function step8_stepsubmitphpaction() {
clear_subsystem_dirty('shaper');
update_filter_reload_status("Initializing");
/* Head over and check out the groovy queue stats */
header("Location: status_filter_reload.php");
}
function step9_stepsubmitphpaction() {