[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / svp / action / supprimer_depot.php
index ec85329..4ecca9f 100644 (file)
@@ -6,13 +6,14 @@
  * @license GPL
  * @package SPIP\SVP\Actions
  */
+
 /**
  * Action de suppression en base de données d'un dépot et de ses plugins
  *
+ * @uses  svp_supprimer_depot()
  * @return void
  */
-function action_supprimer_depot_dist(){
+function action_supprimer_depot_dist() {
 
        // Securisation: aucun argument attendu
        $securiser_action = charger_fonction('securiser_action', 'inc');
@@ -29,8 +30,6 @@ function action_supprimer_depot_dist(){
        if ($id_depot = intval($arg)) {
                include_spip('inc/svp_depoter_distant');
                svp_supprimer_depot($id_depot);
-               spip_log("ACTION SUPPRIMER DEPOT (manuel) : id_depot = ". $id_depot, 'svp_actions.' . _LOG_INFO);
+               spip_log("ACTION SUPPRIMER DEPOT (manuel) : id_depot = " . $id_depot, 'svp_actions.' . _LOG_INFO);
        }
 }
-
-?>