Revision 4269,
1.5 KB
checked in by rafaelraymundo, 13 years ago
(diff) |
Ticket #1823 - Adicionada primeira versao do modulo de kanban para avaliacao.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?php |
---|
2 | /************************************************************************************************\ |
---|
3 | * Gerencia de projetos ageis * |
---|
4 | * by Rafael Raymundo da Silva (rafael2000@gmail.com) * |
---|
5 | * ----------------------------------------------------------------------------------------------* |
---|
6 | * This program is free software; you can redistribute it and/or modify it * |
---|
7 | * under the terms of the GNU General Public License as published by the * |
---|
8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
9 | * option) any later version. * |
---|
10 | \***********************************************************************************************/ |
---|
11 | include_once('../header.inc.php'); |
---|
12 | |
---|
13 | class soremoveElement{ |
---|
14 | |
---|
15 | var $db; |
---|
16 | var $projRemove; |
---|
17 | |
---|
18 | public function soremoveProject($projId){ |
---|
19 | $projId = addslashes($_POST['projId']); |
---|
20 | |
---|
21 | include_once('../phpgwapi/inc/class.db.inc.php'); |
---|
22 | |
---|
23 | $this->projRemove = $GLOBALS['phpgw']->db; |
---|
24 | |
---|
25 | //Insere o projeto guardando seu ID |
---|
26 | $this->projRemove->query("DELETE from phpgw_agile_projects where proj_id=$projId"); |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.