Code

Added check for trust.schema
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Feb 2006 11:32:45 +0000 (11:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Feb 2006 11:32:45 +0000 (11:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2612 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions_setup.inc

index 44adf1ac1fd9893c3c6708177efd722cf0fc1b75..5a44052333167114324dcd279159b63be6af772a 100644 (file)
@@ -216,6 +216,16 @@ function schema_check($server, $admin, $password, $aff=0,$CalledByIndexPhP=false
     $affich['phpgroupware']['msg']= _("Support for phpgroupware enabled")."<td class=\"check\">phpgwaccount.schema</td>";
     $affich['phpgroupware']['status']= TRUE;
   }
+  
+  if (!isset($objectclasses['trustAccount'])){
+    $messages['trustAccount']['msg']= _("Support for trustAccount disabled, no schema seems to be installed");
+    $affich['trustAccount']['msg']= $messages['trustAccount']['msg']."<td class=\"check\">trust.schema</td>";
+    $messages['trustAccount']['status']= FALSE;
+    $affich['trustAccount']['status']= FALSE;
+  }else{
+    $affich['trustAccount']['msg']= _("Support for trustAccount enabled")."<td class=\"check\">trust.schema</td>";
+    $affich['trustAccount']['status']= TRUE;
+  }
 
   if (!isset($objectclasses['goFonAccount'])){
     $messages['phoneaccount']['msg']= _("Support for gofon disabled, no schema seems to be installed");