]> git.mjollnir.org Git - moodle.git/commit
MDL-10181 User Management Improvements: Cron unenrolment of manual should takes place...
authorethem <ethem>
Wed, 6 Feb 2008 08:13:20 +0000 (08:13 +0000)
committerethem <ethem>
Wed, 6 Feb 2008 08:13:20 +0000 (08:13 +0000)
commit04b8b6884815d927aceb3f4b6939bcecc6b96945
tree890120754de007ded06e20a371c27da928b696aa
parenta040b67d73ef0634c06d7cbbf776b1f2dbd065b5
MDL-10181 User Management Improvements: Cron unenrolment of manual should takes place in the main cron.
It is time to use own enrolment method when calling funcs enrol_into_course, role_assign, role_unassign.

Zend Studio Warning: Assignment in condition (line XX), Solved, one more ()
Assignments in a conditional statement are sometimes the result of a typo.
In many cases, instead of the assignment operator =, the equality operator ==
should be used. When comparing a variable and a non-variable expression,
it is common practice to put the variable on the right-hand side of the equality
operator, so that if the equality operator is erroneously replaced with the
assignment operator, PHP will report a parse error immediately.
This helps you avoid a big subset of this class of bugs.

Merged from MOODLE_19_STABLE
enrol/authorize/localfuncs.php
enrol/authorize/locallib.php