summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47c66c5)
raw | patch | inline | side by side (parent: 47c66c5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jan 2010 10:01:11 +0000 (10:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jan 2010 10:01:11 +0000 (10:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15223 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc | patch | blob | history | |
gosa-plugins/gofon/gofon/macro/main.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc
index 1fad602896337ee4f894f49ecf16e21d185de5dc..df1146ffbf284f11b24b9f3380396c74840b78c0 100644 (file)
* 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";
index bf2b2fc4f46fd332bf7e0d67a580f32f4ebd6774..9cd2f4ab3ad40154d45993a55dd7b3c6d89b7974 100644 (file)
/* 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();
}
}
/* 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: