showing student view for teachers in closed course -refs #6913
Removing global variable -refs #6913
manual merge
Merge branch '1.9.x' of github.com:chamilo/chamilo-lms into 1.9.x