Marina Glancy
449d1fa3a4
MDL-42400 modlib: speed up add_moduleinfo, remove unnecessary queries
...
removed code that was causing unnecessary DB queries, this significantly speeds up data generators
2013-10-26 14:00:24 +11:00
Marina Glancy
7fbe33fcf1
MDL-42400 generator: module generators call add_moduleinfo instead of direct inserts
2013-10-26 14:00:23 +11:00
Marina Glancy
b4b7587294
MDL-42400 modlib: include module file when it's used
...
- changed the place where module file is included to make sure that add_moduleinfo() can be called independently from create_module()
- removed permission check from add_moduleinfo() because this function is not supposed to check permissions. Besides it's only half-check. See can_add_moduleinfo()
- added phpdocs to some functions to indicate that they can throw an exception
2013-10-26 14:00:23 +11:00
Ankit Agarwal
63deb5c379
MDL-39959 events: Replace add_to_log() calls with events for course module actions (create, delete and update)
2013-09-16 15:29:56 +08:00
Rajesh Taneja
c592eea2d3
MDL-40428 Libraries: Deprecated delete_context
2013-07-11 12:18:55 +08:00
sam marshall
a9f5fc158c
MDL-38315 Completion: Bugs with 'locked' status in activity form
2013-05-01 11:57:29 +01:00
Dan Poltawski
7c69ab5dc7
MDL-38713 course: correctly set visibleold on mod creation
...
Remove uncessary set of visibleold in the form
2013-03-26 16:27:38 +08:00
Damyon Wiese
3b2a6bf555
MDL-37079 Course create/update module. Remove use of "continue 2".
2013-03-19 13:03:11 +08:00
Damyon Wiese
8f2913b936
MDL-37079 Course create/update module. Fix indenting, some comment formatting and whitespace.
2013-03-19 11:20:39 +08:00
Jerome Mouneyrac
37550a52e7
MDL-37079 missed one modedit.php change since started to work on the issue
2013-03-18 16:08:52 +08:00
Jerome Mouneyrac
80fe0c1983
MDL-37079 switch the modedit.php functions into course/modedit.php
2013-03-18 14:41:38 +08:00