73f7ad715e
MDL-14905 Started on the DDL functional tests. Added an ugly but temporary hack into error() and print_error(), so that they throw an exception instead of dying when UNITTEST is defined.
2008-05-21 14:59:33 +00:00
e41b104f67
MDL-11113: re-add function to deprecatedlib.php, and use it in old version of the help file.
2008-05-08 02:38:47 +00:00
e493ce41b6
MDL-14686 remove get_and_set_current_group()
2008-05-06 18:39:15 +00:00
29dd36df0f
MDL-14685 remove print_group_menu()
2008-05-06 18:36:42 +00:00
e83a816471
MDL-14684 Remove setup_and_print_groups()
2008-05-06 18:29:32 +00:00
fbdf6119e5
MDL-14683 remove document_file()
2008-05-06 18:23:05 +00:00
c5e2d27ee3
MDL-14617 removed count course students- yay!
2008-05-01 22:36:49 +00:00
1b4923215a
MDL-14617 removed isstudent() - yay!
2008-05-01 22:36:08 +00:00
f4862fbebe
MDL-14617 removed isteacheredit() - yay!
2008-05-01 22:35:36 +00:00
5eab9a981d
MDL-14617 removed legacy primary role concept originally used in stats
2008-05-01 22:34:04 +00:00
d0ae7cdcf0
MDL-14617 removed some legacy course related functions
2008-05-01 22:33:23 +00:00
c584346cd5
MDL-14617 removed some legacy group code - fixed regression
2008-05-01 22:32:15 +00:00
35987665f4
MDL-14617 removed some legacy group code
2008-05-01 22:30:28 +00:00
a140234015
MDL-14617 removed unused code
2008-05-01 22:23:27 +00:00
4b3b52edd8
MDL-14617 removed various form related legacy code
2008-05-01 22:21:56 +00:00
96160853f9
MDL-14617 removed various form related legacy code
2008-05-01 22:21:05 +00:00
2f4bba695d
MDL-14617 removed current_charset code
2008-05-01 22:19:40 +00:00
6e28edc532
MDL-14617 removed get_group_teachers code
2008-05-01 22:18:45 +00:00
bcd0603fbd
MDL-14617 removed legacy add admin code
2008-05-01 22:17:30 +00:00
e29b04a047
MDL-14617 removed legacy add and remove teacher code
2008-05-01 22:17:01 +00:00
09253986f5
MDL-14617 removed legacy enrol and unenrol student code
2008-05-01 22:09:00 +00:00
ffe45a68aa
MDL-14617 remoe optional_varible and friends - YAY!
2008-05-01 22:07:26 +00:00
12d0687748
"MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE"
2008-05-01 06:07:24 +00:00
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
e3105d45ce
MDL-14085, add debug information to error() function,
2008-04-01 06:31:19 +00:00
8ec50604b1
Move error() to deprecatelib.php, merged from MOODLE_19_STABLE
2008-04-01 04:15:13 +00:00
4258003130
MDL-12235 deprecated document_file function. Not found anywhere in core.
2008-03-19 07:58:40 +00:00
9801a97a36
MDL-13550 deprecated primary role concept; merged from MOODLE_19_STABLE
2008-02-21 09:30:13 +00:00
aa68a7b0a2
MDL-13020 : deprecates make_table
2008-01-16 08:17:25 +00:00
b1469317a1
lib/deprecatedlib: use sort_by_roleassignment_authority() to sort RAs
...
After calling get_users_by_capability(), use
sort_by_roleassignment_authority() to mimic what older versions of
Moodle did.
Affects: get_teacher(), get_course_teachers()
MDL-12452
2008-01-06 23:25:51 +00:00
1113f8002a
lib/deprecatedlib: enrol/manual: Fix calls to get_users_by_capability() to avoid ra
...
get_users_by_capability() can no longer refer to properties of role
assignments or roles, as the capability aggregate is indirect.
Fixes:
get_teacher() - though the results will be poor, as we cannot provide
role.sortorder reliably
(used mainly by mod/workshop)
get_course_teachers() - which seems broken for a lot of situations as
its default parameters still refer to old tables.
MDL-12452
2008-01-06 23:25:26 +00:00
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
128f098418
MDL-11640
...
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
2007-10-09 12:49:54 +00:00
59bef7283d
Moving 3 functions from datalib to deprecatedlib. Only used
...
by admin/cron.php. First step of MDL-11571 and MDL-11487
2007-10-03 16:31:20 +00:00
2d0de2d88b
deprecatedlib: Legacy interactive enrol/unenrol codepaths mark the context dirty
...
My heart is not so cold. These old buddies also need love and care...
2007-09-19 07:11:56 +00:00
47b18c1c12
group/assign: fixed performance of assigning users to groups
...
- page would not display on a course with 600 users
2007-09-19 07:09:36 +00:00
54c0f82b1d
MDL-10970 Reverted changes
2007-08-24 12:45:16 +00:00
364fffda3b
MDL-10723 Removed all uses of print_navigation() throughout moodle, the function call is now entirely deprecated.
2007-08-24 04:22:30 +00:00
13534ef716
cvsimport fixups
2007-08-29 13:10:11 +12:00
778918fd71
MDL-10383 - some more refactoring/cleanup, enablegroupings experimental admin setting, tabs in groups UI
2007-08-16 21:14:03 +00:00
5bf243d131
MDL-10383 - groups/groupings refactoring nearly finished ;-)
2007-08-16 11:06:48 +00:00
2c386f82e5
MDL-10383 - deprecated get_groups(), user_group() and ismember()
2007-08-15 20:21:01 +00:00
1d68419596
MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9
2007-08-15 19:28:11 +00:00
b069fbd9b3
MDL-10161 - Since get_course_... (users, students, teachers) is still being used by a number of functions (such as groups), trying to make them work with the SITE course the way they did pre-1.7, with $CFG->allusersarestudents set to TRUE. This will also have a configuration option that can be used to disable returning large amounts of users for the site course, if a site happens to be using this functionality and they have a large number of users.
2007-06-19 20:38:27 +00:00
26f329ba61
Merged argument fix from stable
2007-03-11 06:59:53 +00:00
7c393e9c4f
Fixed unenrol_student MDL-8591
2007-03-01 08:06:05 +00:00
9152fc9938
MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
...
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
8f36e33ec3
Fixed up styles for simple boxes see MDL-8101
2007-01-23 05:37:26 +00:00
ed5dd29fc8
moved obsoleted functions from weblib.php to deprecatedlib.php
2007-01-20 13:32:15 +00:00
2123b644a6
print_simple_box_* functions deprecated and replaced with clean new functions print_box_*
...
MDL-8101 MDL-4943
2007-01-08 03:06:32 +00:00