summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/post-by-email.php')
-rw-r--r--plugins/jetpack/modules/post-by-email.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/jetpack/modules/post-by-email.php b/plugins/jetpack/modules/post-by-email.php
index 6a7bae26..17aa532c 100644
--- a/plugins/jetpack/modules/post-by-email.php
+++ b/plugins/jetpack/modules/post-by-email.php
@@ -12,8 +12,6 @@
*/
add_action( 'jetpack_modules_loaded', array( 'Jetpack_Post_By_Email', 'init' ) );
-add_action( 'jetpack_activate_module_post-by-email', array( 'Jetpack_Post_By_Email', 'module_toggle' ) );
-add_action( 'jetpack_deactivate_module_post-by-email', array( 'Jetpack_Post_By_Email', 'module_toggle' ) );
Jetpack::enable_module_configurable( __FILE__ );
Jetpack::module_configuration_load( __FILE__, array( 'Jetpack_Post_By_Email', 'configuration_redirect' ) );
@@ -33,11 +31,6 @@ class Jetpack_Post_By_Email {
add_action( 'init', array( &$this, 'action_init' ) );
}
- static function module_toggle() {
- $jetpack = Jetpack::init();
- $jetpack->sync->register( 'noop' );
- }
-
static function configuration_redirect() {
wp_safe_redirect( get_edit_profile_url( get_current_user_id() ) . '#post-by-email' );
exit;