moodle/version.php
moodler 73047f2f76 OK, this is a new scheme to allow some teachers to edit and others to not
that is much better than the proposal to change the role of course creators.

There is a new field in user_teachers called "editall", which is
ON BY DEFAULT, and allows teachers to edit courses.  It can be modified
on the teacher editing screen (formerly assign teachers).

The value is cached in the session.

To test for it, there is a new function isteacheredit($course->id)
which works much like isteacher did.

I'm going through now and applying this new function wherever
it is needed.
2003-08-16 05:19:24 +00:00

14 lines
381 B
PHP

<?PHP //$Id$
// This file defines the current version of the
// Moodle code that is being used. This can be
// compared against the values stored in the
// database to determine whether upgrades should
// be performed (see lib/db/*.php)
$version = 2003081600; // The current version is a date (YYYYMMDDXX)
$release = "1.1 development"; // User-friendly version number
?>