NC wizard: route technical check through generic connector views

This commit is contained in:
Terranom674
2026-08-18 19:09:17 +02:00
parent 28f8bb7d96
commit e1d01d02f5

View File

@@ -6,21 +6,5 @@ if (!defined('PHPWG_ROOT_PATH'))
function bratonien_tools_nc_wizard_save_technical_flow() function bratonien_tools_nc_wizard_save_technical_flow()
{ {
$result = bratonien_tools_nc_wizard_save_technical_with_known_database(); return bratonien_tools_nc_wizard_save_technical_generic();
$state = bratonien_tools_nc_wizard_state();
if ((string)($state['technical_stage'] ?? '') === 'mounts')
{
if (!empty($state['directory_selection_ready']))
{
bratonien_tools_nc_wizard_refresh_directory_state($state, '');
}
else
{
$state['mount_prompted'] = true;
}
bratonien_tools_nc_wizard_store($state);
}
return $result;
} }