gunnar: server/perl-kolab/perl-kolab/lib/Kolab LDAP.pm,1.5,1.6

cvs at kolab.org cvs at kolab.org
Mon Jun 28 10:54:24 CEST 2010


Author: gunnar

Update of /kolabrepository/server/perl-kolab/perl-kolab/lib/Kolab
In directory doto:/tmp/cvs-serv9808/perl-kolab/lib/Kolab

Modified Files:
	LDAP.pm 
Log Message:
Remove the hack for kolab/issue3472 (web client user prefs not deleted when user gets deleted)

Index: LDAP.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/perl-kolab/lib/Kolab/LDAP.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- LDAP.pm	27 Jun 2010 06:53:57 -0000	1.5
+++ LDAP.pm	28 Jun 2010 08:54:22 -0000	1.6
@@ -733,18 +733,6 @@
 	}
     }
 
-    # 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;





More information about the commits mailing list