Commit d0d1cd5f authored by Ivan Tyagov's avatar Ivan Tyagov

Remove logging.

parent cf25d945
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
"""\n """\n
Return true if user account is blocked.\n Return true if user account is blocked.\n
"""\n """\n
\n
from DateTime import DateTime\n from DateTime import DateTime\n
from Products.ZSQLCatalog.SQLCatalog import Query\n from Products.ZSQLCatalog.SQLCatalog import Query\n
\n \n
......
...@@ -83,7 +83,7 @@ def _isPasswordExpired():\n ...@@ -83,7 +83,7 @@ def _isPasswordExpired():\n
expire_date_warning = expire_date\n expire_date_warning = expire_date\n
if expire_date < now:\n if expire_date < now:\n
# password is expired\n # password is expired\n
context.log(\'expired %s\' %context.getReference())\n #context.log(\'expired %s\' %context.getReference())\n
return True, expire_date_warning\n return True, expire_date_warning\n
return False, expire_date_warning\n return False, expire_date_warning\n
\n \n
......
19 20
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment