equal
deleted
inserted
replaced
1042 """Return 1 if the web session has no connection set. This occurs when |
1042 """Return 1 if the web session has no connection set. This occurs when |
1043 anonymous access is not allowed and user isn't authenticated. |
1043 anonymous access is not allowed and user isn't authenticated. |
1044 |
1044 |
1045 May only be used on the web side, not on the data repository side. |
1045 May only be used on the web side, not on the data repository side. |
1046 """ |
1046 """ |
1047 if req.cnx is None: |
1047 if not req.cnx: |
1048 return 1 |
1048 return 1 |
1049 return 0 |
1049 return 0 |
1050 |
1050 |
1051 @objectify_selector |
1051 @objectify_selector |
1052 @lltrace |
1052 @lltrace |