Skip to content
Extraits de code Groupes Projets
Valider 1c3c7737 rédigé par b_b's avatar b_b
Parcourir les fichiers

ajout d'un pipeline post_edition en fin d'action tourner (merci cerdic)

parent 084d7a8a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -94,6 +94,22 @@ function action_tourner_post($r) ...@@ -94,6 +94,22 @@ function action_tourner_post($r)
spip_log("j'efface $effacer"); spip_log("j'efface $effacer");
spip_unlink($effacer); spip_unlink($effacer);
} }
// pipeline pour les plugins
pipeline('post_edition',
array(
'args' => array(
'table' => 'spip_documents',
'table_objet' => 'documents',
'spip_table_objet' => 'spip_documents',
'type' =>'document',
'id_objet' => $arg,
'champs' => array('rotation'=>$var_rot,'fichier'=>$row),
'serveur' => $serveur,
'action'=>'tourner',
),
'data' => array('fichier'=>$row)
)
);
} }
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter