diff --git a/PVE/API2/Storage/Config.pm b/PVE/API2/Storage/Config.pm index 4255299..e5c57ee 100755 --- a/PVE/API2/Storage/Config.pm +++ b/PVE/API2/Storage/Config.pm @@ -254,7 +254,9 @@ __PACKAGE__->register_method ({ cfs_write_file('storage.cfg', $cfg); }, "delete storage failed"); - + + PVE::AccessControl::remove_storage_access($storeid); + return undef; }});