source: spip-zone/_plugins_/diogene/diogene/trunk/action/supprimer_diogene.php @ 82238

Last change on this file since 82238 was 82238, checked in by kent1@…, 5 years ago

Documentation du code

Petites améliorations de ci de là

Version 1.7.0

File size: 517 bytes
Line 
1<?php 
2/**
3 * Plugin Diogene
4 *
5 * Auteurs :
6 * b_b
7 * kent1 (http://www.kent1.info - kent1@arscenic.info)
8 *
9 * Distribue sous licence GNU/GPL
10 *
11 * Action de suppression d'un Diogène
12 *
13 **/
14
15if (!defined("_ECRIRE_INC_VERSION")) return;
16
17function action_supprimer_diogene_dist(){
18       
19        $securiser_action = charger_fonction('securiser_action', 'inc');
20        $arg = $securiser_action();
21        $id_diogene = intval($arg);
22       
23        if ($id_diogene > 0){
24                include_spip('action/editer_diogene');
25                diogene_supprimer($id_diogene);
26        }
27}
28
29?>
Note: See TracBrowser for help on using the repository browser.