[predicates] remove deprecated sentences in docstrings
authorDavid Douard <david.douard@logilab.fr>
Fri, 03 Jul 2015 15:23:14 +0200
changeset 10498 36e48f7ac61a
parent 10497 12bc4e92aa62
child 10499 d0907690af55
[predicates] remove deprecated sentences in docstrings
predicates.py
--- a/predicates.py	Fri Jul 03 14:06:57 2015 +0200
+++ b/predicates.py	Fri Jul 03 15:23:14 2015 +0200
@@ -1292,8 +1292,6 @@
 def no_cnx(cls, req, **kwargs):
     """Return 1 if the web session has no connection set. This occurs when
     anonymous access is not allowed and user isn't authenticated.
-
-    May only be used on the web side, not on the data repository side.
     """
     if not req.cnx:
         return 1
@@ -1303,8 +1301,6 @@
 @objectify_predicate
 def authenticated_user(cls, req, **kwargs):
     """Return 1 if the user is authenticated (i.e. not the anonymous user).
-
-    May only be used on the web side, not on the data repository side.
     """
     if req.session.anonymous_session:
         return 0
@@ -1314,8 +1310,6 @@
 @objectify_predicate
 def anonymous_user(cls, req, **kwargs):
     """Return 1 if the user is not authenticated (i.e. is the anonymous user).
-
-    May only be used on the web side, not on the data repository side.
     """
     if req.session.anonymous_session:
         return 1