Code

renamed option
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 May 2006 06:02:23 +0000 (06:02 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 May 2006 06:02:23 +0000 (06:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3534 594d385d-05f5-0310-b6e9-bd551577e9d8

FAQ
html/index.php

diff --git a/FAQ b/FAQ
index 5d2d91095d27e7245a9862f421d6d539d3eae49c..6a8a56db9491f708b0a43737ea829e9d78b6cb29 100644 (file)
--- a/FAQ
+++ b/FAQ
@@ -304,5 +304,5 @@ A: Yes. Set STRICT_UNITS to "true" in your gosa.conf's location section.
 
 Q: How can i active the account expiration code for the gosa interface?
 
-A: Yes. Just set "accountexpired" to "true" in your gosa.conf's main section.
+A: Yes. Just set "account_expiration" to "true" in your gosa.conf's main section.
 
index e55d51c7dd8fcf9fca497921c95ced564d9149d7..63fb9db9111747c0d5e187edf96ab3307e737736 100644 (file)
@@ -216,8 +216,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){
       $_SESSION['config']= $config;
 
       /* are we using accountexpiration */
-      if((isset($config->data['MAIN']['ACCOUNTEXPIRED'])) && 
-          preg_match('/true/i', $config->data['MAIN']['ACCOUNTEXPIRED'])){
+      if((isset($config->data['MAIN']['ACCOUNT_EXPIRATION'])) && 
+          preg_match('/true/i', $config->data['MAIN']['ACCOUNT_EXPIRATION'])){
       
         $expired= ldap_expired_account($config, $ui->dn, $ui->username);