|
27 | 27 | * -------------------------------------------------------------------------- |
28 | 28 | */ |
29 | 29 |
|
30 | | -/* |
31 | | - ------------------------------------------------------------------------- |
32 | | - addressing plugin for GLPI |
33 | | - Copyright (C) 2016-2026 by the addressing Development Team. |
34 | | -
|
35 | | - https://github.com/pluginsGLPI/addressing |
36 | | - ------------------------------------------------------------------------- |
37 | | -
|
38 | | - LICENSE |
39 | | -
|
40 | | - This file is part of addressing. |
41 | | -
|
42 | | - addressing is free software; you can redistribute it and/or modify |
43 | | - it under the terms of the GNU General Public License as published by |
44 | | - the Free Software Foundation; either version 3 of the License, or |
45 | | - (at your option) any later version. |
46 | | -
|
47 | | - addressing is distributed in the hope that it will be useful, |
48 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
49 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
50 | | - GNU General Public License for more details. |
51 | | -
|
52 | | - You should have received a copy of the GNU General Public License |
53 | | - along with addressing. If not, see <http://www.gnu.org/licenses/>. |
54 | | - -------------------------------------------------------------------------- |
55 | | - */ |
56 | | - |
57 | 30 | // ---------------------------------------------------------------------- |
58 | 31 | // Original Author of file: Alban Lesellier |
59 | 32 | // ---------------------------------------------------------------------- |
60 | 33 |
|
61 | | - |
62 | 34 | use Glpi\Exception\Http\AccessDeniedHttpException; |
63 | 35 | use GlpiPlugin\Addressing\Addressing; |
64 | 36 | use GlpiPlugin\Addressing\IpComment; |
|
93 | 65 | $ipcomment->add(['plugin_addressing_addressings_id' => $addressing_id, 'ipname' => $ipname, 'comments' => $content]); |
94 | 66 | } |
95 | 67 |
|
96 | | - |
97 | 68 | echo json_encode(0); |
0 commit comments