Le mirroring des dépôts vers Github est maintenant natif dans Gitlab (et donc Framagit). Merci de passer à la fonction native pour que nous puissions couper notre solution maison. Détails sur https://docs.gitlab.com/ee/workflow/repository_mirroring.html#pushing-to-a-remote-repository (pensez à supprimer le webhook de notre solution maison).

Commit c4b643ca by Cyrille37

unique installer instance

parent 8685f048
......@@ -23,9 +23,10 @@ class CommunityVoice
add_action( 'activated_plugin', array( $this, 'load_plugin_first' ) );
register_activation_hook( __FILE__, array( new CommunityVoice_install(), 'activate' ) );
register_deactivation_hook( __FILE__, array( new CommunityVoice_install(), 'deactivate' ) );
register_uninstall_hook( __FILE__, array( 'CommunityVoice_install', 'uninstall' ) );
$installer = new CommunityVoice_install() ;
register_activation_hook( __FILE__, array( $installer, 'activate' ) );
register_deactivation_hook( __FILE__, array( $installer, 'deactivate' ) );
register_uninstall_hook( __FILE__, array( $installer, 'uninstall' ) );
add_action( 'wp_enqueue_scripts', array( $this, 'load_script' ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment