MDL-63887 auth_ldap: fix unclean exit from sync when users not found
authorJake Dallimore <jake@moodle.com>
Wed, 12 Dec 2018 00:53:35 +0000 (08:53 +0800)
committerJake Dallimore <jake@moodle.com>
Wed, 12 Dec 2018 01:42:13 +0000 (09:42 +0800)
commit39ac02f424d141ce1fb5b7d9979259032c350af9
tree30de3b1bdd77a3371d7d89c241a2979df98473b6
parent84e8e178205d627cf0d95993b3cdd136fd9b2467
MDL-63887 auth_ldap: fix unclean exit from sync when users not found

We should return, not exit, and we should clean up before we do.
auth/ldap/auth.php