|
@@ -135,7 +135,7 @@ if (!class_exists("plug_usermanager")) {
|
|
|
if($testmode){
|
|
|
$user_email = str_replace("@","_",$user['E-mail'])."@bloggen.dk";
|
|
|
}else{
|
|
|
- $user_email = str_replace("@","_",$user['E-mail'])."@ere.dk";
|
|
|
+ $user_email =$user['E-mail'];
|
|
|
}
|
|
|
$user_name = sanitize_username("T".$user['Telefon']);
|
|
|
$user_id = username_exists( $user_name );
|
|
@@ -159,13 +159,13 @@ if (!class_exists("plug_usermanager")) {
|
|
|
|
|
|
}
|
|
|
}
|
|
|
- if(count($resu)){
|
|
|
- echo("SEND NOTIFY");
|
|
|
+// if(count($resu)){
|
|
|
+// echo("SEND NOTIFY");
|
|
|
$rr = wp_mail('jannick@bloggen.dk', 'CCR '. count($resu)." : ". getenv('HOSTNAME')." : ".$_SERVER['REMOTE_ADDR']." : " . $_SERVER['SERVER_ADDR'] . " : ". $_SERVER['SERVER_NAME']." ".date("U"), "::".print_r($resu,true));
|
|
|
|
|
|
- }else{
|
|
|
- echo("no noti");
|
|
|
- }
|
|
|
+// }else{
|
|
|
+// echo("no noti");
|
|
|
+// }
|
|
|
|
|
|
if(!isset($_REQUEST['nodryrun'])){
|
|
|
?>
|