Changeset 1319 for lliurex-moodle
- Timestamp:
- May 2, 2016, 9:32:22 AM (5 years ago)
- Location:
- lliurex-moodle/trunk/fuentes/lliurex-moodle.install-files/usr/share/n4d/hooks/golem
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-moodle/trunk/fuentes/lliurex-moodle.install-files/usr/share/n4d/hooks/golem/51_moodle_create-cohorte.py
r283 r1319 3 3 import time 4 4 import os 5 import subprocess 5 6 6 7 class Moodle_updater: … … 145 146 #def execute 146 147 148 single_sync=["add_user","add_generic_users","gescen_partial","gescen_full"] 149 if NEVERLAND_VAR in single_sync: 150 subprocess.Popen(["/usr/bin/php","/usr/share/moodle/auth/ldap/cli/sync_users.php"]).communicate() 151 147 152 aux = Moodle_updater(NEVERLAND_VAR,ARGV) 148 print "*********************"149 print NEVERLAND_VAR, ARGV150 print "*********************"151 153 aux.execute()
Note: See TracChangeset
for help on using the changeset viewer.