diff --git a/admin/sync/fas/sync_fas_portal_nation.php b/admin/sync/fas/sync_fas_portal_nation.php index 5c1087514..0477169e6 100644 --- a/admin/sync/fas/sync_fas_portal_nation.php +++ b/admin/sync/fas/sync_fas_portal_nation.php @@ -1,19 +1,5 @@ , * Andreas Oesterreicher and @@ -31,8 +17,8 @@ include('../../../include/nation.class.php'); $conn=pg_connect(CONN_STRING) or die("Connection zur Portal Datenbank fehlgeschlagen"); $conn_fas=pg_connect(CONN_STRING_FAS) or die("Connection zur FAS Datenbank fehlgeschlagen"); -$adress='ruhan@technikum-wien.at'; -//$adress='fas_sync@technikum-wien.at'; +//$adress='ruhan@technikum-wien.at'; +$adress='fas_sync@technikum-wien.at'; $error_log=''; $text = ''; @@ -94,8 +80,8 @@ if($result = pg_query($conn_fas, $qry)) //echo nl2br($text); echo nl2br($error_log); echo nl2br("\nGesamt: $anzahl_quelle / Eingefügt: $anzahl_eingefuegt / Fehler: $anzahl_fehler"); -$error_log.="\nGesamt: $anzahl_quelle / Eingefügt: $anzahl_eingefuegt / Fehler: $anzahl_fehler"; -mail($adress, 'SYNC Personen', $error_log); +$error_log.="Sync Nation:\nGesamt: $anzahl_quelle / Eingefügt: $anzahl_eingefuegt / Fehler: $anzahl_fehler"; +mail($adress, 'SYNC Nation', $error_log,"From: vilesci@technikum-wien.at"); ?> \ No newline at end of file