Code

Removed network auto hook
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 17:28:26 +0000 (17:28 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 17:28:26 +0000 (17:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8975 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/class_setupStep_Config3.inc
gosa-core/setup/setup_config3.tpl

index f9e48c69865339defc458e2ab73edcb35e125b63..e747258ff61af9e83e805a8202bc399dc7f08f98 100644 (file)
@@ -51,9 +51,6 @@ class Step_Config3 extends setup_step
               "mailQueueScriptPath" => "/usr/bin/sudo /usr/local/sbin/mailqueue %action %id %server",
               "mailQueueScriptPath_active" => FALSE,
 
-              "auto_network_hook" => "/usr/bin/net-resolver.sh",
-              "auto_network_hook_active" => FALSE,
-
               "notifydir" => "",
               "notifydir_active" => FALSE,
 
@@ -161,15 +158,6 @@ class Step_Config3 extends setup_step
         $this->optional['gotomasses_active'] = FALSE;
       }
 
-      if(isset($_POST['auto_network_hook_active'])){
-        $this->optional['auto_network_hook_active'] = TRUE;
-        if(isset($_POST['auto_network_hook'])){
-          $this->optional['auto_network_hook'] = get_post('auto_network_hook');
-        }
-      }else{
-        $this->optional['auto_network_hook_active'] = FALSE;
-      }
-
       if(isset($_POST['notifydir_active'])){
         $this->optional['notifydir_active'] = TRUE;
         if(isset($_POST['notifydir'])){
index b5a854baf9f0f15544cfa7c05c06e4c33ae1946d..d450f994c9722771167e06c702f515f08a374e36 100644 (file)
         </div>
     </div>
 
-
-    <div class='step4_container'>
-        <div class='step4_name'>
-            {t}Network resolv hook{/t}
-        </div>
-        <div class='step4_value'>
-            {if $optional.auto_network_hook_active == FALSE}
-                <input type='checkbox' value='1' name='auto_network_hook_active'
-                    onClick='changeState("auto_network_hook");'>
-                <input size=40 id='auto_network_hook' name='auto_network_hook' 
-                                       type='text' value='{$optional.auto_network_hook}' disabled>
-            {else}
-                <input type='checkbox' value='1' name='auto_network_hook_active' checked
-                                       onClick='changeState("auto_network_hook");'>
-                <input size=40 id='auto_network_hook' name='auto_network_hook' type='text' 
-                                       value='{$optional.auto_network_hook}'  >
-            {/if}
-        </div>
-    </div>
-
     <div class='step4_container'>
         <div class='step4_name'>
             {t}Mail queue script{/t}