skodak
9f43d70d24
MDL-15080 char to int cast problem in get_recent_enrolments()
2008-06-01 13:20:02 +00:00
skodak
10df888a1f
MDL-14679 deprecated lib converted to new $DB
2008-05-25 14:33:33 +00:00
skodak
45de775fc9
MDL-14978 removed obsoleted make_table()
2008-05-25 14:28:58 +00:00
skodak
3c268f2569
MDL-14978 removed obsoleted get_course_users()
2008-05-25 14:27:33 +00:00
skodak
31372ef93f
MDL-14679 deprecated conversion
2008-05-25 11:19:06 +00:00
skodak
79eaec48cd
MDL-14978 removed obsoleted get_site_users()
2008-05-25 11:18:12 +00:00
skodak
7cd9fcfe63
MDL-14978 removed obsoleted get_course_teachers()
2008-05-25 11:07:57 +00:00
skodak
e2fc9a8850
MDL-14978 removed obsoleted get_course_students()
2008-05-25 11:06:23 +00:00
skodak
4119bfec09
MDL-14978 removed obsoleted iscreator()
2008-05-25 11:02:58 +00:00
skodak
c4d61f7af0
MDL-14978 removed obsoleted get_group_users()
2008-05-25 11:00:59 +00:00
skodak
c5eb1adbf9
MDL-14978 removed obsoleted get_group_users()
2008-05-25 10:59:41 +00:00
skodak
bc8d118210
MDL-14679 fixed $exceptions regression in first part of datalib conversion
2008-05-25 10:16:53 +00:00
skodak
e3c7f155d8
MDL-14978 removed obsoleted isadmin()
2008-05-25 10:08:05 +00:00
skodak
72f563b91c
MDL-14978 replaced deprecated can_use_richtext_editor
2008-05-25 09:57:58 +00:00
skodak
a7544e377a
MDL-14974 improved columns caching implementation
2008-05-25 09:31:38 +00:00
nicolasconnault
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
scyrma
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
mudrd8mz
e493ce41b6
MDL-14686 remove get_and_set_current_group()
2008-05-06 18:39:15 +00:00
mudrd8mz
29dd36df0f
MDL-14685 remove print_group_menu()
2008-05-06 18:36:42 +00:00
mudrd8mz
e83a816471
MDL-14684 Remove setup_and_print_groups()
2008-05-06 18:29:32 +00:00
mudrd8mz
fbdf6119e5
MDL-14683 remove document_file()
2008-05-06 18:23:05 +00:00
skodak
c5e2d27ee3
MDL-14617 removed count course students- yay!
2008-05-01 22:36:49 +00:00
skodak
1b4923215a
MDL-14617 removed isstudent() - yay!
2008-05-01 22:36:08 +00:00
skodak
f4862fbebe
MDL-14617 removed isteacheredit() - yay!
2008-05-01 22:35:36 +00:00
skodak
5eab9a981d
MDL-14617 removed legacy primary role concept originally used in stats
2008-05-01 22:34:04 +00:00
skodak
d0ae7cdcf0
MDL-14617 removed some legacy course related functions
2008-05-01 22:33:23 +00:00
skodak
c584346cd5
MDL-14617 removed some legacy group code - fixed regression
2008-05-01 22:32:15 +00:00
skodak
35987665f4
MDL-14617 removed some legacy group code
2008-05-01 22:30:28 +00:00
skodak
a140234015
MDL-14617 removed unused code
2008-05-01 22:23:27 +00:00
skodak
4b3b52edd8
MDL-14617 removed various form related legacy code
2008-05-01 22:21:56 +00:00
skodak
96160853f9
MDL-14617 removed various form related legacy code
2008-05-01 22:21:05 +00:00
skodak
2f4bba695d
MDL-14617 removed current_charset code
2008-05-01 22:19:40 +00:00
skodak
6e28edc532
MDL-14617 removed get_group_teachers code
2008-05-01 22:18:45 +00:00
skodak
bcd0603fbd
MDL-14617 removed legacy add admin code
2008-05-01 22:17:30 +00:00
skodak
e29b04a047
MDL-14617 removed legacy add and remove teacher code
2008-05-01 22:17:01 +00:00
skodak
09253986f5
MDL-14617 removed legacy enrol and unenrol student code
2008-05-01 22:09:00 +00:00
skodak
ffe45a68aa
MDL-14617 remoe optional_varible and friends - YAY!
2008-05-01 22:07:26 +00:00
dongsheng
12d0687748
"MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE"
2008-05-01 06:07:24 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
dongsheng
e3105d45ce
MDL-14085, add debug information to error() function,
2008-04-01 06:31:19 +00:00
dongsheng
8ec50604b1
Move error() to deprecatelib.php, merged from MOODLE_19_STABLE
2008-04-01 04:15:13 +00:00
scyrma
4258003130
MDL-12235 deprecated document_file function. Not found anywhere in core.
2008-03-19 07:58:40 +00:00
skodak
9801a97a36
MDL-13550 deprecated primary role concept; merged from MOODLE_19_STABLE
2008-02-21 09:30:13 +00:00
scyrma
aa68a7b0a2
MDL-13020 : deprecates make_table
2008-01-16 08:17:25 +00:00
martinlanghoff
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
martinlanghoff
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
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
skodak
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
stronk7
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
martinlanghoff
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