Move call up to where it belongs.

This commit is contained in:
Ermal Lui 2010-03-08 17:19:19 +00:00
parent 07070c72f3
commit e296b18378

View File

@ -595,10 +595,10 @@ function config_restore($conffile) {
$config = parse_config(true);
write_config("Reverted to " . array_pop(explode("/", $conffile)) . ".", false);
conf_mount_ro();
write_config("Reverted to " . array_pop(explode("/", $conffile)) . ".", false);
return 0;
}