Ver Fonte

Bumped version to 0.0.32

Jannick Knudsen há 4 anos atrás
pai
commit
0d259b81da
5 ficheiros alterados com 11 adições e 10 exclusões
  1. 1 1
      VERSION
  2. 1 0
      VERSIONLOG
  3. 1 1
      package.json
  4. 6 6
      plug_usermanager.php
  5. 2 2
      plugin.php

+ 1 - 1
VERSION

@@ -1 +1 @@
-v0.0.31
+v0.0.32

+ 1 - 0
VERSIONLOG

@@ -30,3 +30,4 @@ v0.0.28
 v0.0.29
 v0.0.30
 v0.0.31
+v0.0.32

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "dagsplug",
-  "version": "0.0.31",
+  "version": "0.0.32",
   "description": "",
   "main": "script_backend.js",
   "scripts": {

+ 6 - 6
plug_usermanager.php

@@ -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'])){
 					?>

+ 2 - 2
plugin.php

@@ -4,7 +4,7 @@
  Plugin URI: https://git.tum.dk/tum.dk/dagsplug/
  Description: Tools 
  Author: iskedk
- Version: 0.0.31
+ Version: 0.0.32
  Date: 2021-01-14
  Author URI: https://iske.dk/
  Text Domain: dagsopt
@@ -17,7 +17,7 @@ function wppluginspage() {
 $wp_dagsopt = new dagsopt ( );
 
 class dagsopt {
-	var $version = "0.0.31";
+	var $version = "0.0.32";
 	var $publish_date = "2021-01-14";
 	var $pluginname;
 	var $plugintitle;