summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-06-28 08:54:22 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-06-28 08:54:22 (GMT)
commit31f88b2f82f6ef7edd06092591976f19a765c9e0 (patch)
tree32b22693e358d4508d6087408032888259b792f7
parentf86ad0481ba3147e55bb1e7d0b13a3b60d1302ee (diff)
downloadperl-Kolab-31f88b2f82f6ef7edd06092591976f19a765c9e0.tar.gz
Remove the hack for kolab/issue3472 (web client user prefs not deleted when user gets deleted)
-rw-r--r--lib/Kolab/LDAP.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Kolab/LDAP.pm b/lib/Kolab/LDAP.pm
index efbe444..d3426d1 100644
--- a/lib/Kolab/LDAP.pm
+++ b/lib/Kolab/LDAP.pm
@@ -733,18 +733,6 @@ sub deleteObject
}
}
- # FIXME
- # This is a horrible fix for kolab/issue3472. kolabd is a simple
- # deamon that should react to changes within LDAP. It should NOT
- # however have any application knowledge. It would be better if
- # each application that requires cleanup operations after user
- # removal could add a script in a directory collecting such
- # operations.
- if (-e $Kolab::config{'webserver_document_root'} . '/client/storage/' . $uid . '.prefs' ) {
- unlink($Kolab::config{'webserver_document_root'} . '/client/storage/' . $uid . '.prefs');
- Kolab::log('L', "Deleted web client user preferences for user $uid.", KOLAB_DEBUG);
- }
-
if (!$uid) {
Kolab::log('L', 'Deleted object not found in mboxcache, returning', KOLAB_DEBUG);
return;