X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fsetup%2Fmain.inc;h=2e00ce96e7de340ca70665d8ab1e2540c556565a;hb=4d80480e1f729bdf7d2856e0cd623b6a2d20451b;hp=bce41ef68ff02ca28599b1f85ec7dd6974b016c3;hpb=7f7f21906eb6121c29823abbf96461733d642509;p=gosa.git diff --git a/gosa-core/setup/main.inc b/gosa-core/setup/main.inc index bce41ef68..2e00ce96e 100644 --- a/gosa-core/setup/main.inc +++ b/gosa-core/setup/main.inc @@ -19,17 +19,17 @@ */ /* Create a new setup class if necessary */ -if (!isset($_SESSION['setup']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ - $_SESSION['setup']= new setup (); +if (!session::is_set('setup') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ + session::set('setup',new setup()); } -$setup= $_SESSION['setup']; +$setup = session::get('setup'); /* Execute formular */ $setup->save_object(); $display= $setup->execute(); /* Store changes in session */ -$_SESSION['setup']= $setup; +session::set('setup',$setup); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>