From d0d1cd5f483a4d609bd87ccb47ce60cc8c1c7733 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 8 Sep 2011 15:54:40 +0300 Subject: [PATCH] Remove logging. --- .../erp5_authentication_policy/Person_isLoginBlocked.xml | 1 - .../erp5_authentication_policy/Person_isPasswordExpired.xml | 2 +- bt5/erp5_authentication_policy/bt/revision | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml index 9eecb65f7c..dbdc4b8a10 100644 --- a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml +++ b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml @@ -55,7 +55,6 @@ """\n Return true if user account is blocked.\n """\n -\n from DateTime import DateTime\n from Products.ZSQLCatalog.SQLCatalog import Query\n \n diff --git a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml index de662aabc6..31837559be 100644 --- a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml +++ b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml @@ -83,7 +83,7 @@ def _isPasswordExpired():\n expire_date_warning = expire_date\n if expire_date < now:\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 False, expire_date_warning\n \n diff --git a/bt5/erp5_authentication_policy/bt/revision b/bt5/erp5_authentication_policy/bt/revision index dec2bf5d61..2edeafb09d 100644 --- a/bt5/erp5_authentication_policy/bt/revision +++ b/bt5/erp5_authentication_policy/bt/revision @@ -1 +1 @@ -19 \ No newline at end of file +20 \ No newline at end of file -- 2.30.9