Code

Renamed class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 May 2011 06:36:11 +0000 (06:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 May 2011 06:36:11 +0000 (06:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20869 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc
gosa-plugins/goto-ng/admin/newConfigManagement/main.inc

index 0ee36f126bd3ac6018f887997f6a17731baf28c3..a54591923ac71724427f05a1b895e65c46506e8b 100644 (file)
@@ -2,7 +2,7 @@
 
 /*! \brief  This class allows to manage backend config items and packages.
  */
-class newConfigManagement extends plugin
+class ConfigManagement extends plugin
 {
     var $initTime;
     var $plHeadline = "Config management";
index 0eea23740ad6364c4c8a1cad64c4c64630865c83..21fe5b6a128a4a736521036ad6271384b5516619 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 if ($remove_lock){
-    if(session::is_set('newConfigManagement')){
-        $macl = session::get('newConfigManagement');
+    if(session::is_set('ConfigManagement')){
+        $macl = session::get('ConfigManagement');
         $macl->remove_lock();
     }
 }
@@ -9,25 +9,25 @@ if ($remove_lock){
 /* Remove this plugin from session
  */
 if ( $cleanup ){
-    session::un_set('newConfigManagement');
+    session::un_set('ConfigManagement');
 }else{
 
-    /* Create newConfigManagement object on demand */
-    if (!session::is_set('newConfigManagement')){
-        $newConfigManagement= new newConfigManagement ($config, $ui);
-        session::set('newConfigManagement',$newConfigManagement);
+    /* Create ConfigManagement object on demand */
+    if (!session::is_set('ConfigManagement')){
+        $ConfigManagement= new ConfigManagement ($config, $ui);
+        session::set('ConfigManagement',$ConfigManagement);
     }
-    $newConfigManagement = session::get('newConfigManagement');
-    $display= $newConfigManagement->save_object();
-    $display= $newConfigManagement->execute();
+    $ConfigManagement = session::get('ConfigManagement');
+    $display= $ConfigManagement->save_object();
+    $display= $ConfigManagement->execute();
 
     /* Reset requested? */
     if (isset($_GET['reset']) && $_GET['reset'] == 1){
-        session::un_set ('newConfigManagement');
+        session::un_set ('ConfigManagement');
     }
 
     /* Show and save dialog */
-    session::set('newConfigManagement',$newConfigManagement);
+    session::set('ConfigManagement',$ConfigManagement);
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: