Index: waeup/branches/ulif-layout/src/waeup/authentication.py
===================================================================
--- waeup/branches/ulif-layout/src/waeup/authentication.py	(revision 4615)
+++ waeup/branches/ulif-layout/src/waeup/authentication.py	(revision 4616)
@@ -36,23 +36,4 @@
     loginfield = 'form.login'
     passwordfield = 'form.password'
-
-    
-class Logout(grok.Viewlet):
-    grok.viewletmanager(LeftSidebar)
-    grok.context(IWAeUPObject)
-    grok.order(3)
-    # grok.require('zope.Public') # XXX: Does not work in ftests!
-    
-    def update(self):
-        if 'form.logout' not in self.request.form.keys():
-            return
-        if not IUnauthenticatedPrincipal.providedBy(self.request.principal):
-            auth = getUtility(IAuthentication)
-            ILogout(auth).logout(self.request)
-            # We redirect to ourself, as we want this page be loaded
-            # without authentication (updating other viewlets on the
-            # page)
-            self.view.flash("You're logged out.")
-            self.view.redirect(self.view.url())
 
 class PrincipalInfo(object):
