From aaf0a7491d308a6bfff583a59ed260af4fd925b3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 2 Sep 2013 13:40:40 +0000 Subject: [PATCH] silence warning be defining the constants --- phpgwapi/inc/class.accounts_ldap.inc.php | 10 ++++++++++ phpgwapi/inc/class.accounts_sql.inc.php | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 2c1f196b6b..37ec0e084b 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -115,6 +115,16 @@ class accounts_ldap */ private $ldap; + /** + * does backend allow to change account_lid + */ + const CHANGE_ACCOUNT_LID = true; + + /** + * does backend requires password to be set, before allowing to enable an account + */ + const REQUIRE_PASSWORD_FOR_ENABLE = false; + /** * Constructor * diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index bbaf232083..1df6f5765c 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -73,6 +73,16 @@ class accounts_sql */ private $frontend; + /** + * does backend allow to change account_lid + */ + const CHANGE_ACCOUNT_LID = true; + + /** + * does backend requires password to be set, before allowing to enable an account + */ + const REQUIRE_PASSWORD_FOR_ENABLE = false; + /** * Constructor *