diff --git a/.gitattributes b/.gitattributes index 91afdcd42bc0f86c5c6b5f2976f71977b87988dc..77360fe57a815cea2a57b5f0d6ef9c46df7f8d41 100644 --- a/.gitattributes +++ b/.gitattributes @@ -30,4 +30,4 @@ verifier/telephone.php -text verifier/telephone.yaml -text verifier/url.php -text verifier/url.yaml -text -/verifier_options.php -text +/verifier_pipelines.php -text diff --git a/plugin.xml b/plugin.xml index 2ad1d6ccd1830b89a3fac4fc372e200b1d047ad6..c3f511c7f343ec9ab67a133b7e05c73aa37175fd 100644 --- a/plugin.xml +++ b/plugin.xml @@ -17,7 +17,10 @@ </multi> </description> <prefix>verifier</prefix> - <options>verifier_options.php</options> + <pipeline> + <nom>verifier</nom> + <inclure>verifier_pipelines.php</inclure> + </pipeline> <necessite id="SPIP" version="[2.0.10;]" /> <utilise id="yaml" /> <categorie>outil</categorie> diff --git a/verifier_options.php b/verifier_options.php deleted file mode 100644 index efc8ce30b1e8e846dedfecdab2aabe722d724dc9..0000000000000000000000000000000000000000 --- a/verifier_options.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php - -$GLOBALS['spip_pipeline']['verifier'] = ''; - -?> \ No newline at end of file diff --git a/verifier_pipelines.php b/verifier_pipelines.php new file mode 100644 index 0000000000000000000000000000000000000000..4f2b545f375c9e377929181b1a032634f70bb5b2 --- /dev/null +++ b/verifier_pipelines.php @@ -0,0 +1,5 @@ +<?php + +function verifier_verifier($flux){return $flux;} + +?> \ No newline at end of file