Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
app_delete.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Generated Header (not documented yet)
9  *
10  * @author Anakeen 2000
11  * @version $Id: app_delete.php,v 1.2 2003/08/18 15:46:41 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage APPMNG
15  */
16 /**
17  */
18 // ---------------------------------------------------------------
19 // $Id: app_delete.php,v 1.2 2003/08/18 15:46:41 eric Exp $
20 // $Source: /home/cvsroot/anakeen/freedom/core/Action/Appmng/app_delete.php,v $
21 // ---------------------------------------------------------------
22 // $Log: app_delete.php,v $
23 // Revision 1.2 2003/08/18 15:46:41 eric
24 // phpdoc
25 //
26 // Revision 1.1 2002/01/08 12:41:33 eric
27 // first
28 //
29 // Revision 1.3 2001/01/29 15:50:59 marianne
30 // prise en compte de la gestion des parametres
31 //
32 // Revision 1.2 2000/11/02 18:39:08 marc
33 // OK
34 //
35 // Revision 1.1 2000/11/02 18:35:14 marc
36 // Creation (log info : application )
37 //
38 //
39 // ---------------------------------------------------------------
40 include_once ("Class.TableLayout.php");
41 include_once ("Class.QueryDb.php");
42 // -----------------------------------
43 function app_delete(&$action)
44 {
45  // -----------------------------------
46  $appsel = GetHttpVars("appsel");
47 
48  $application = new Application("", $appsel);
49  $action->log->info("Remove " . $application->name);
50  $application->DeleteApp();
51  redirect($action, "APPMNG", "");
52 }
53 ?>
← centre documentaire © anakeen - published under CC License - Dynacase