]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG/API2/LDAP.pm: delete local data when removing a profile
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 20 Mar 2017 07:47:08 +0000 (08:47 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 20 Mar 2017 10:33:59 +0000 (11:33 +0100)
PMG/API2/LDAP.pm

index 15cfdf779701eb543a7d0a779fed7e5ad97356ac..457f7fdd5f6caa04727924d2411832548169312b 100644 (file)
@@ -240,6 +240,8 @@ __PACKAGE__->register_method ({
 
            delete $ids->{$section};
 
+           PMG::LDAPCache->delete($section);
+
            PVE::INotify::write_file($ldapconfigfile, $cfg);
        };