From 7a2c027b6bda70c3fa3bcc12dd0e5c7a984ace0a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Jan 2010 10:01:11 +0000 Subject: [PATCH] Updated class name git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15223 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../macro/class_gofonMacroManagement.inc | 2 +- gosa-plugins/gofon/gofon/macro/main.inc | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc index 1fad60289..df1146ffb 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc @@ -20,7 +20,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -class goFonMacroManagment extends management +class goFonMacro extends management { var $plHeadline = "Macros"; var $plDescription = "Phone macro management"; diff --git a/gosa-plugins/gofon/gofon/macro/main.inc b/gosa-plugins/gofon/gofon/macro/main.inc index bf2b2fc4f..9cd2f4ab3 100644 --- a/gosa-plugins/gofon/gofon/macro/main.inc +++ b/gosa-plugins/gofon/gofon/macro/main.inc @@ -23,8 +23,8 @@ /* Remove locks created by this plugin */ if ($remove_lock){ - if(session::is_set('goFonMacroManagment')){ - $macl = session::get('goFonMacroManagment'); + if(session::is_set('goFonMacro')){ + $macl = session::get('goFonMacro'); $macl->remove_lock(); } } @@ -32,24 +32,24 @@ if ($remove_lock){ /* Remove this plugin from session */ if ( $cleanup ){ - session::un_set('goFonMacroManagment'); + session::un_set('goFonMacro'); }else{ - /* Create goFonMacroManagment object on demand */ - if (!session::is_set('goFonMacroManagment')){ - $goFonMacroManagment= new goFonMacroManagment ($config, $ui); - session::set('goFonMacroManagment',$goFonMacroManagment); + /* Create goFonMacro object on demand */ + if (!session::is_set('goFonMacro')){ + $goFonMacro= new goFonMacro ($config, $ui); + session::set('goFonMacro',$goFonMacro); } - $goFonMacroManagment = session::get('goFonMacroManagment'); - $display= $goFonMacroManagment->execute(); + $goFonMacro = session::get('goFonMacro'); + $display= $goFonMacro->execute(); /* Reset requested? */ if (isset($_GET['reset']) && $_GET['reset'] == 1){ - session::un_set ('goFonMacroManagment'); + session::un_set ('goFonMacro'); } /* Show and save dialog */ - session::set('goFonMacroManagment',$goFonMacroManagment); + session::set('goFonMacro',$goFonMacro); } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2