From: hickert Date: Thu, 19 May 2011 06:36:11 +0000 (+0000) Subject: Renamed class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa1a5ae2cfa43065b681002af5651b9bfaa27626;p=gosa.git Renamed class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20869 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc index 0ee36f126..a54591923 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc @@ -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"; diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/main.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/main.inc index 0eea23740..21fe5b6a1 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/main.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/main.inc @@ -1,7 +1,7 @@ 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: