Skip to content
Snippets Groups Projects
Commit c5180868 authored by lucha's avatar lucha Committed by agata
Browse files

removed send mail on privacy setting change

parent 129193f0
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ class DS_More_Privacy_Options {
//no pings unless public either
add_filter('option_ping_sites', array($this, 'privacy_ping_filter'),1);
//email SuperAdmin when privacy changes
add_action( 'update_blog_public', array($this,'ds_mail_super_admin'));
//add_action( 'update_blog_public', array($this,'ds_mail_super_admin'));
// hook into signup form?
add_action('signup_blogform', array($this, 'add_privacy_options'));
......@@ -174,6 +174,7 @@ class DS_More_Privacy_Options {
}
function ds_mail_super_admin() {
return;
global $blog_id;
$blog_public_new = get_blog_option($blog_id,'blog_public');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment