From d88702100b424fbbaaeb7fd60e9577eb580ab87f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 29 Sep 2014 07:16:22 +0000 Subject: [PATCH] =?UTF-8?q?Dummy=20User=20wird=20nicht=20ins=20Moodle=20ge?= =?UTF-8?q?synct,=20da=20dies=20zu=20Fehlermeldungen=20f=C3=BChrt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/moodle24_user.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/moodle24_user.class.php b/include/moodle24_user.class.php index be3c12781..644db5f1a 100644 --- a/include/moodle24_user.class.php +++ b/include/moodle24_user.class.php @@ -150,6 +150,7 @@ class moodle24_user extends basis_db WHERE moodle_version='2.4' AND mdl_course_id=".$this->db_add_param($mdl_course_id, FHC_INTEGER)." + AND mitarbeiter_uid not like '_Dummy%' UNION SELECT mitarbeiter_uid @@ -159,7 +160,8 @@ class moodle24_user extends basis_db WHERE moodle_version='2.4' AND tbl_lehreinheit.studiensemester_kurzbz=tbl_moodle.studiensemester_kurzbz - AND mdl_course_id=".$this->db_add_param($mdl_course_id, FHC_INTEGER); + AND mdl_course_id=".$this->db_add_param($mdl_course_id, FHC_INTEGER)." + AND mitarbeiter_uid not like '_Dummy%'"; } $mitarbeiter='';