source: lliurex-moodle/trunk/fuentes/lliurex-moodle.install-files/usr/share/n4d/hooks/golem/50_moodle_sync-users.py @ 283

Last change on this file since 283 was 283, checked in by mabarracus, 5 years ago

Copy trusty code to xenial

File size: 232 bytes
Line 
1import subprocess 
2single_sync=["add_user","add_generic_users","gescen_partial","gescen_full"]
3if NEVERLAND_VAR in single_sync:
4        subprocess.Popen(["/usr/bin/php","/usr/share/moodle/auth/ldap/cli/sync_users.php"]).communicate()
5               
6       
Note: See TracBrowser for help on using the repository browser.