diff --git a/admin/sync/fas/sync_fas_vilesci_mitarbeiter.php b/admin/sync/fas/sync_fas_vilesci_mitarbeiter.php index cda320fd1..8178cc771 100644 --- a/admin/sync/fas/sync_fas_vilesci_mitarbeiter.php +++ b/admin/sync/fas/sync_fas_vilesci_mitarbeiter.php @@ -7,7 +7,8 @@ */ /** * Synchronisiert Mitarbeiterdatensaetze von FAS DB in PORTAL DB - * benötigt tbl_nation, tbl_sprache, tbl_ort + * setzt voraus: tbl_nation, tbl_sprache, tbl_ort + * benötigt: tbl_syncperson */ require_once('../../../vilesci/config.inc.php'); diff --git a/admin/sync/fas/sync_fas_vilesci_student.php b/admin/sync/fas/sync_fas_vilesci_student.php index 9028b5161..804a6eb91 100644 --- a/admin/sync/fas/sync_fas_vilesci_student.php +++ b/admin/sync/fas/sync_fas_vilesci_student.php @@ -7,6 +7,7 @@ /** * Synchronisiert Studentendatensaetze von FAS DB in PORTAL DB *benötigt: tbl_nation, tbl_sprache, tbl_studiengang + * benötigt: tbl_syncperson */ require_once('../../../vilesci/config.inc.php'); require_once('../../../include/datum.class.php'); @@ -365,7 +366,7 @@ AND (p1.familienname<>p2.familienname OR p1.vorname<>p2.vorname OR p1.vornamen<> OR p1.aufnahmeschluessel<>p2.aufnahmeschluessel OR p1.aufnahmeschluessel_fk<>p2.aufnahmeschluessel_fk OR p1.angetreten<>p2.angetreten) ) -order by p1.familienname +order by familienname Limit 10 "; $datum_obj=new datum(); if($result = pg_query($conn_fas, $qry)) @@ -1314,7 +1315,7 @@ Echo nl2br("Benutzer: Eingef Echo nl2br("Nicht-Studenten: ".$anzahl_nichtstudenten."\n"); Echo nl2br("Studenten: Eingefügt: ".$anzahl_student_insert." / Geändert: ".$anzahl_student_update." / Fehler: ".$anzahl_fehler_student."\n"); -$error_log="Synch Student:\n"; +$error_log="Sync Student:\n"; $error_log.="\nPersonen ohne Reihungstest: ".$notest." \n\n"; $error_log.="Personen: Eingefügt: ".$anzahl_person_insert." / Geändert: ".$anzahl_person_update." / Fehler: ".$anzahl_fehler_person."\n"; $error_log.="Prestudenten: Eingefügt: ".$anzahl_pre_insert." / Geändert: ".$anzahl_pre_update." / Fehler: ".$anzahl_fehler_pre."\n"; @@ -1322,7 +1323,7 @@ $error_log.="Benutzer: Eingef $error_log.="Nicht-Studenten: ".$anzahl_nichtstudenten."\n"; $error_log.="Studenten: Eingefügt: ".$anzahl_student_insert." / Geändert: ".$anzahl_student_update." / Fehler: ".$anzahl_fehler_student."\n"; $error_log.=$text; -mail($adress, 'SYNC Student', $error_log, $error_log,"From: vilesci@technikum-wien.at"); +mail($adress, 'SYNC Student', $error_log,"From: vilesci@technikum-wien.at"); ?> \ No newline at end of file diff --git a/admin/sync/fas/sync_fas_portal_studiengang.php b/admin/sync/fas/sync_fas_vilesci_studiengang.php similarity index 100% rename from admin/sync/fas/sync_fas_portal_studiengang.php rename to admin/sync/fas/sync_fas_vilesci_studiengang.php