common/selectors.py
branch3.0
changeset 431 18b4dd650ef8
parent 430 6fbc0ab79a2d
child 446 3a3ab6bbccc5
--- a/common/selectors.py	Thu Jan 15 13:27:17 2009 +0100
+++ b/common/selectors.py	Thu Jan 15 13:27:33 2009 +0100
@@ -50,7 +50,6 @@
 from cubicweb.cwconfig import CubicWebConfiguration
 from cubicweb.schema import split_expression
 
-
 # helpers for debugging selectors
 SELECTOR_LOGGER = logging.getLogger('cubicweb.selectors')
 TRACED_OIDS = ()
@@ -223,7 +222,7 @@
 @lltrace
 def authenticated_user(cls, req, *args, **kwargs):
     """accept if user is authenticated"""
-    return not anonymous_selector(cls, req, *args, **kwargs)
+    return not anonymous_user(cls, req, *args, **kwargs)
 not_anonymous_selector = deprecated_function(authenticated_user)
 
 @lltrace