moodle.git
13 years agoFix MDL-12407: missing whitespace produces invalid XHTML syntax
iarenaza [Sun, 2 Dec 2007 22:19:53 +0000 (22:19 +0000)]
Fix MDL-12407: missing whitespace produces invalid XHTML syntax

13 years agoRemove accidentally revived files as part of MDL-11099 fix
iarenaza [Sun, 2 Dec 2007 16:14:13 +0000 (16:14 +0000)]
Remove accidentally revived files as part of MDL-11099 fix

13 years agoMDL-12373 - If you can see your user profile, but don't have moodle/course:viewpartic...
tjhunt [Fri, 30 Nov 2007 12:08:01 +0000 (12:08 +0000)]
MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message. Merged from MOODLE_19_STABLE.

13 years agoMDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_ST...
tjhunt [Fri, 30 Nov 2007 11:00:48 +0000 (11:00 +0000)]
MDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_STABLE.

13 years agoCode style corrections.
scyrma [Fri, 30 Nov 2007 03:09:59 +0000 (03:09 +0000)]
Code style corrections.

13 years agoadding support for customized cron
toyomoyo [Fri, 30 Nov 2007 02:00:04 +0000 (02:00 +0000)]
adding support for customized cron

13 years agofixing duplicate header
toyomoyo [Fri, 30 Nov 2007 01:16:26 +0000 (01:16 +0000)]
fixing duplicate header

13 years agoNew installer files added - stronk7
moodler [Thu, 29 Nov 2007 16:59:26 +0000 (16:59 +0000)]
New installer files added - stronk7

13 years agoMDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from...
skodak [Thu, 29 Nov 2007 14:43:04 +0000 (14:43 +0000)]
MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE

13 years agoPossible fix to MDL-12093 : give window without heading and navigation special css...
scyrma [Thu, 29 Nov 2007 07:20:13 +0000 (07:20 +0000)]
Possible fix to MDL-12093 : give window without heading and navigation special css classes.

13 years agoMDL-12093 : new strings to get locale-aware popup windows.
scyrma [Thu, 29 Nov 2007 06:00:33 +0000 (06:00 +0000)]
MDL-12093 : new strings to get locale-aware popup windows.

13 years agoMDL-12093 : cleanup & simplify code to get popup windows.
scyrma [Thu, 29 Nov 2007 05:54:35 +0000 (05:54 +0000)]
MDL-12093 : cleanup & simplify code to get popup windows.

13 years agoAutomatic installer.php lang files by installer_builder (20071129)
moodler [Thu, 29 Nov 2007 05:47:38 +0000 (05:47 +0000)]
installer.php lang files by installer_builder (20071129)

13 years agoMDL-12346, lesson module GIFT import fails
toyomoyo [Thu, 29 Nov 2007 04:31:57 +0000 (04:31 +0000)]
MDL-12346, lesson module GIFT import fails

13 years agoAdding new wraplevelXX class for easier containers identification. MDL-12339
stronk7 [Wed, 28 Nov 2007 18:14:38 +0000 (18:14 +0000)]
Adding new wraplevelXX class for easier containers identification. MDL-12339

Merged from MOODLE_19_STABLE

13 years agoMDL-12330 - moving a question that uses an image in a subfolder of course files,...
tjhunt [Wed, 28 Nov 2007 16:43:20 +0000 (16:43 +0000)]
MDL-12330 - moving a question that uses an image in a subfolder of course files, where the same subfolder does not exist at the destination, fails. Merged from MOODLE_19_STABLE.

13 years agoadded missing pix
urs_hunkler [Wed, 28 Nov 2007 16:15:56 +0000 (16:15 +0000)]
added missing pix

13 years agoMDL-12370 :: added missing images
urs_hunkler [Wed, 28 Nov 2007 14:22:38 +0000 (14:22 +0000)]
MDL-12370 :: added missing images

13 years agoMDL-12369 - get_actual_response should not truncate the student's response. Merged...
tjhunt [Wed, 28 Nov 2007 12:45:57 +0000 (12:45 +0000)]
MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE.

13 years agoMDL-7028 gradebook related changes for course reset; merged from MOODLE_19_STABLE
skodak [Wed, 28 Nov 2007 09:43:47 +0000 (09:43 +0000)]
MDL-7028 gradebook related changes for course reset; merged from MOODLE_19_STABLE

13 years agoMDL-10263, enable forum search for multiple groups
toyomoyo [Wed, 28 Nov 2007 07:53:44 +0000 (07:53 +0000)]
MDL-10263, enable forum search for multiple groups

13 years agoMDL-12356 CSS classes implemented
nicolasconnault [Wed, 28 Nov 2007 05:16:09 +0000 (05:16 +0000)]
MDL-12356 CSS classes implemented

13 years agoMDL-11818, single post forum descript = first post
toyomoyo [Wed, 28 Nov 2007 05:08:51 +0000 (05:08 +0000)]
MDL-11818, single post forum descript = first post

13 years agoMDL-11800, multilang support for category description
toyomoyo [Wed, 28 Nov 2007 02:56:51 +0000 (02:56 +0000)]
MDL-11800, multilang support for category description

13 years agoMDL-12326, adding a missing footer
toyomoyo [Wed, 28 Nov 2007 01:25:29 +0000 (01:25 +0000)]
MDL-12326, adding a missing footer

13 years agoMDL-12366, removing useless print_capabilities function
toyomoyo [Wed, 28 Nov 2007 01:20:59 +0000 (01:20 +0000)]
MDL-12366, removing useless print_capabilities function

13 years agoMDL-12362 - Don't show scores for incomplete attempts on the quiz view page. Merged...
tjhunt [Tue, 27 Nov 2007 19:18:36 +0000 (19:18 +0000)]
MDL-12362 - Don't show scores for incomplete attempts on the quiz view page. Merged from MOODLE_19_STABLE.

13 years agoMDL-9506 Returning stdClass objects instead of grade_item objects: for security
nicolasconnault [Tue, 27 Nov 2007 15:40:04 +0000 (15:40 +0000)]
MDL-9506 Returning stdClass objects instead of grade_item objects: for security

13 years agoMDL-8863 Initial page field was disabled when there were no entries in the wiki,...
nicolasconnault [Tue, 27 Nov 2007 13:30:57 +0000 (13:30 +0000)]
MDL-8863 Initial page field was disabled when there were no entries in the wiki, making it useless. It is now always enabled

13 years agoMDL-12098 Printing a closing div tag and the moodle footer
nicolasconnault [Tue, 27 Nov 2007 10:31:50 +0000 (10:31 +0000)]
MDL-12098 Printing a closing div tag and the moodle footer

13 years agoMDL-12312 Reviewed and slightly improved Petr's great help file
nicolasconnault [Tue, 27 Nov 2007 10:01:52 +0000 (10:01 +0000)]
MDL-12312 Reviewed and slightly improved Petr's great help file

13 years agoMDL-12312 Reviewed and slightly improved Petr's great help file
nicolasconnault [Tue, 27 Nov 2007 10:00:45 +0000 (10:00 +0000)]
MDL-12312 Reviewed and slightly improved Petr's great help file

13 years agoMDL-12318 filter/mediaplugins/filter.php can no longer insert mediaplayers into javas...
gbateson [Tue, 27 Nov 2007 08:46:40 +0000 (08:46 +0000)]
MDL-12318 filter/mediaplugins/filter.php can no longer insert mediaplayers into javascript, so hotpot module now requires its own filter to mimic behavior of multimedia filter in Moodle 1.7

13 years agoMDL-9506 Added support for 'course' type in grade_get_grade_items() function, plus...
nicolasconnault [Tue, 27 Nov 2007 07:11:11 +0000 (07:11 +0000)]
MDL-9506 Added support for 'course' type in grade_get_grade_items() function, plus corrected a few typos

13 years agoMDL-12356 CSS classes implemented
nicolasconnault [Tue, 27 Nov 2007 07:06:02 +0000 (07:06 +0000)]
MDL-12356 CSS classes implemented

13 years agoMerged docs fix about get_recordsets usage from 1.9 stable
moodler [Tue, 27 Nov 2007 05:59:45 +0000 (05:59 +0000)]
Merged docs fix about get_recordsets usage from 1.9 stable

13 years agoMDL-12352, block/search fails to install on postgres
toyomoyo [Tue, 27 Nov 2007 05:43:27 +0000 (05:43 +0000)]
MDL-12352, block/search fails to install on postgres

13 years agoimagealt wasn't loaded in a list of the user's posts.
scyrma [Tue, 27 Nov 2007 05:02:27 +0000 (05:02 +0000)]
imagealt wasn't loaded in a list of the user's posts.

13 years agofixing a type, merged
toyomoyo [Tue, 27 Nov 2007 03:26:06 +0000 (03:26 +0000)]
fixing a type, merged

13 years agoMDL-11194, course role names not reflected in course description
toyomoyo [Tue, 27 Nov 2007 01:56:21 +0000 (01:56 +0000)]
MDL-11194, course role names not reflected in course description

13 years agoMDL-12350 do not set parent cat when updating; merged from MOODLE_19_STABLE
skodak [Mon, 26 Nov 2007 17:45:56 +0000 (17:45 +0000)]
MDL-12350 do not set parent cat when updating; merged from MOODLE_19_STABLE

13 years agoMDL-12313 basically rationalising getting calendar events function calls
dwoolhead [Mon, 26 Nov 2007 14:43:28 +0000 (14:43 +0000)]
MDL-12313 basically rationalising getting calendar events function calls

13 years agofix for error message
jamiesensei [Mon, 26 Nov 2007 13:32:23 +0000 (13:32 +0000)]
fix for error message

13 years agoMDL-12331, hidden teacher should not be displayed in choice results
toyomoyo [Mon, 26 Nov 2007 06:01:26 +0000 (06:01 +0000)]
MDL-12331, hidden teacher should not be displayed in choice results

13 years agoMDL-12294 - another string fix
scyrma [Mon, 26 Nov 2007 04:52:14 +0000 (04:52 +0000)]
MDL-12294 - another string fix

13 years agoMDL-12175, forum reset should delete attachments
toyomoyo [Mon, 26 Nov 2007 04:22:10 +0000 (04:22 +0000)]
MDL-12175, forum reset should delete attachments

13 years agoFix for par of the missing strings, as reported in MDL-12294
scyrma [Mon, 26 Nov 2007 04:10:08 +0000 (04:10 +0000)]
Fix for par of the missing strings, as reported in MDL-12294

13 years agoexpecting multiple groups from sql
toyomoyo [Mon, 26 Nov 2007 03:21:46 +0000 (03:21 +0000)]
expecting multiple groups from sql

13 years agoMDL-12081, teacher with import capability can not import course
toyomoyo [Mon, 26 Nov 2007 02:39:28 +0000 (02:39 +0000)]
MDL-12081, teacher with import capability can not import course

13 years agoAutomatic installer.php lang files by installer_builder (20071125)
moodler [Sun, 25 Nov 2007 03:45:54 +0000 (03:45 +0000)]
installer.php lang files by installer_builder (20071125)

13 years agoMDL-12130 fixed regression - disabledIf did not work in dateselectors; merged from...
skodak [Sat, 24 Nov 2007 13:37:07 +0000 (13:37 +0000)]
MDL-12130 fixed regression - disabledIf did not work in dateselectors; merged from MOODLE_19_STABLE

13 years agoMDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
skodak [Fri, 23 Nov 2007 22:15:07 +0000 (22:15 +0000)]
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE

13 years agoMDL-12329 fixed last access when course not accessed yet - patch by Yolanda Ordóñez...
skodak [Fri, 23 Nov 2007 21:31:58 +0000 (21:31 +0000)]
MDL-12329 fixed last access when course not accessed yet - patch by Yolanda Ordóñez Rufat; merged from MOODLE_19_STABLE

13 years agoMDL-12221 custom themes revisited - fixed bug in previous commit, added more develope...
skodak [Fri, 23 Nov 2007 20:26:16 +0000 (20:26 +0000)]
MDL-12221 custom themes revisited - fixed bug in previous commit, added more developer debug; merged from MOODLE_19_STABLE

13 years agoMDL-12221 custom themes revisited - implemented container concept; merged from MOODLE...
skodak [Fri, 23 Nov 2007 16:49:51 +0000 (16:49 +0000)]
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE

13 years agoMDL-12296:
thepurpleblob [Fri, 23 Nov 2007 15:49:00 +0000 (15:49 +0000)]
MDL-12296:
Unenrol disable option now works in synchronisation script.

Merged from STABLE_19

13 years agoAutomatic installer.php lang files by installer_builder (20071123)
moodler [Fri, 23 Nov 2007 04:50:46 +0000 (04:50 +0000)]
installer.php lang files by installer_builder (20071123)

13 years agouser/index: Add "enrolment details" view to Participants page - MDL-12311
martinlanghoff [Fri, 23 Nov 2007 00:23:39 +0000 (00:23 +0000)]
user/index: Add "enrolment details" view to Participants page - MDL-12311

With this patch, the additional roles/groups/groupings columns get moved
to a special "enrolment details" view. To support this, the handling of
the $mode is revamped to use $mode constants.

To keep performance issues at bay, the enrolment details view is only
available when viewing paginated resultsets, and will reset itself to
'brief' if the conditions aren't met. The $mode is sticky, so it is
quite possible to have a mismatched $mode -- so he handle the case
explicitly.

13 years agouser/index: More consistent handling of groups column - MDL-12311
martinlanghoff [Fri, 23 Nov 2007 00:23:24 +0000 (00:23 +0000)]
user/index: More consistent handling of groups column - MDL-12311

13 years agouser/index: Fix Participants page for sitecourse - MDL-12311
martinlanghoff [Fri, 23 Nov 2007 00:23:10 +0000 (00:23 +0000)]
user/index: Fix Participants page for sitecourse - MDL-12311

Groups/groupings don't seem to map normally through enrolments
as you would expect with site. Disable for sitecourse.

13 years agouser/index: Show enrolment and group/grouping data in Participants page MDL-12311
martinlanghoff [Fri, 23 Nov 2007 00:22:56 +0000 (00:22 +0000)]
user/index: Show enrolment and group/grouping data in Participants page MDL-12311

The participants page will now show (to users that have
moodle/role:assign) the relevant enrolments for each participant.

This is done with a second SELECT using a WHERE id IN() so we are
limited to doing it with small datasets. This is for 2 reasons

 - we cannot retrieve all teh data in the "main" SELECT because
   the outer joins will bring dup rows, breaking LIMIT

 - we cannot use the main SELECT as a subselect because we cannot
   retrieve the LIMIT part of the statement with the current dmllib

 - on large courses / sitecourse performance would be horrible

so it is limited to paginated datasets. It is doing 20 recs at a time,
the "extra" SELECT takes ~7ms on a some large Pg databases).

This will generate an extra DB query on Oracle (and any other DB that
cannot rewind the recordset) because we walk the main rs twice.

While at it, ensure we mark the unsortable columns thus...

13 years agoDeleting one ='' condition that isn't cross-db nor necessary. MDL-12186
stronk7 [Thu, 22 Nov 2007 22:47:49 +0000 (22:47 +0000)]
Deleting one ='' condition that isn't cross-db nor necessary. MDL-12186

Merged from MOODLE_19_STABLE

13 years agoMDL-12312 fixed outdated aggregation help, added examples; merged from MOODLE_19_STABLE
skodak [Thu, 22 Nov 2007 21:36:59 +0000 (21:36 +0000)]
MDL-12312 fixed outdated aggregation help, added examples; merged from MOODLE_19_STABLE

13 years agoMDL-12322 - Reference to incorrect language file
tjhunt [Thu, 22 Nov 2007 18:14:57 +0000 (18:14 +0000)]
MDL-12322 - Reference to incorrect language file

13 years agoMDL-12312 fixed outdated aggregation help; merged from MOODLE_19_STABLE
skodak [Thu, 22 Nov 2007 17:53:08 +0000 (17:53 +0000)]
MDL-12312 fixed outdated aggregation help; merged from MOODLE_19_STABLE

13 years agoMDL-12282 - fix typo in previous commit. Sorry.
tjhunt [Thu, 22 Nov 2007 11:51:16 +0000 (11:51 +0000)]
MDL-12282 - fix typo in previous commit. Sorry.

13 years agoMDL-9506 Returning stdClass objects instead of grade_item objects: for security
nicolasconnault [Thu, 22 Nov 2007 08:47:34 +0000 (08:47 +0000)]
MDL-9506 Returning stdClass objects instead of grade_item objects: for security

13 years agoMerged string fix from stable 19
moodler [Thu, 22 Nov 2007 07:05:30 +0000 (07:05 +0000)]
Merged string fix from stable 19

13 years agoReplaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164.
scyrma [Thu, 22 Nov 2007 06:28:58 +0000 (06:28 +0000)]
Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164.

13 years agoMDL-12182 Reverting to pre-upgrade in order to prepare a patch instead
nicolasconnault [Thu, 22 Nov 2007 06:17:01 +0000 (06:17 +0000)]
MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead

13 years agoMDL-12182 Reverting to pre-upgrade in order to prepare a patch instead
nicolasconnault [Thu, 22 Nov 2007 05:42:46 +0000 (05:42 +0000)]
MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead

13 years agoMDL-12182 More grade_item unit tests
nicolasconnault [Thu, 22 Nov 2007 05:37:49 +0000 (05:37 +0000)]
MDL-12182 More grade_item unit tests

13 years agoMDL-12309, gradebook can not sort by names while in group mode
toyomoyo [Thu, 22 Nov 2007 05:17:26 +0000 (05:17 +0000)]
MDL-12309, gradebook can not sort by names while in group mode

13 years agotaking out user class from firstname/lastname cell to remove image css
toyomoyo [Thu, 22 Nov 2007 01:37:59 +0000 (01:37 +0000)]
taking out user class from firstname/lastname cell to remove image css

13 years agoturn this block off when $CFG->messaging is off
toyomoyo [Thu, 22 Nov 2007 01:17:03 +0000 (01:17 +0000)]
turn this block off when $CFG->messaging is off

13 years agoMDL-10028, adding a string
toyomoyo [Thu, 22 Nov 2007 01:05:36 +0000 (01:05 +0000)]
MDL-10028, adding a string

13 years agoMDL-12305 - Don't let the quiz reorder tool put a page break at the start of the...
tjhunt [Wed, 21 Nov 2007 18:09:11 +0000 (18:09 +0000)]
MDL-12305 - Don't let the quiz reorder tool put a page break at the start of the quiz. Merged from MOODLE_19_STABLE.

13 years agoMDL-12305 - Quiz reorder tool broken. Merged from MOODLE_19_STABLE.
tjhunt [Wed, 21 Nov 2007 18:00:09 +0000 (18:00 +0000)]
MDL-12305 - Quiz reorder tool broken. Merged from MOODLE_19_STABLE.

13 years agoFix some whitespace.
tjhunt [Wed, 21 Nov 2007 16:30:25 +0000 (16:30 +0000)]
Fix some whitespace.

13 years agoFix typo.
tjhunt [Wed, 21 Nov 2007 16:28:45 +0000 (16:28 +0000)]
Fix typo.

13 years agoFixes reopened bug MDL-7472, "Explicitly label radio buttons in Survey" - removes...
nfreear [Wed, 21 Nov 2007 14:50:32 +0000 (14:50 +0000)]
Fixes reopened bug MDL-7472, "Explicitly label radio buttons in Survey" - removes use of USER->screenreader using get_accesshide + many other accessibility fixes.

13 years agoMDL-12296:
thepurpleblob [Wed, 21 Nov 2007 11:06:46 +0000 (11:06 +0000)]
MDL-12296:
Added option to prevent database enrolment plugin unenrolling users.

Merged from STABLE_19

13 years agoMDL-9506 Implemented and tested the new API functions
nicolasconnault [Wed, 21 Nov 2007 10:04:21 +0000 (10:04 +0000)]
MDL-9506 Implemented and tested the new API functions

13 years agoMDL-10294, MDL-10028, changing messaging/bulk messaging system
toyomoyo [Wed, 21 Nov 2007 07:53:42 +0000 (07:53 +0000)]
MDL-10294, MDL-10028, changing messaging/bulk messaging system

13 years agoMDL-8090 Added new help file. Merged from stable
mudrd8mz [Wed, 21 Nov 2007 03:09:37 +0000 (03:09 +0000)]
MDL-8090 Added new help file. Merged from stable

13 years agoMDL-8090 Merged from stable. Added new strings for lang.php
mudrd8mz [Wed, 21 Nov 2007 03:08:12 +0000 (03:08 +0000)]
MDL-8090 Merged from stable. Added new strings for lang.php

13 years agoMDL-8090 Merged from stable. Print an obsolete message.
mudrd8mz [Wed, 21 Nov 2007 03:05:12 +0000 (03:05 +0000)]
MDL-8090 Merged from stable. Print an obsolete message.

13 years agoMDL-8090 Merged from stable
mudrd8mz [Wed, 21 Nov 2007 03:03:59 +0000 (03:03 +0000)]
MDL-8090 Merged from stable

13 years agoFixes typo 'yes'' -> 'yes'
mudrd8mz [Tue, 20 Nov 2007 23:47:37 +0000 (23:47 +0000)]
Fixes typo 'yes'' -> 'yes'

13 years agoApplying one missing string. tableofcontentsabbrev. MDL-12071
stronk7 [Tue, 20 Nov 2007 23:44:08 +0000 (23:44 +0000)]
Applying one missing string. tableofcontentsabbrev. MDL-12071

Merged from MOODLE_19_STABLE

13 years agoAdding one missing string. tableofcontentsabbrev. MDL-12071
stronk7 [Tue, 20 Nov 2007 23:41:52 +0000 (23:41 +0000)]
Adding one missing string. tableofcontentsabbrev. MDL-12071

Merged from MOODLE_19_STABLE

13 years agoadded default values for datetime fields
diml [Tue, 20 Nov 2007 23:37:15 +0000 (23:37 +0000)]
added default values for datetime fields

13 years agofix table name for deletion of indexes before regeneration
diml [Tue, 20 Nov 2007 23:22:56 +0000 (23:22 +0000)]
fix table name for deletion of indexes before regeneration

13 years agofix unchecked foreach loops
diml [Tue, 20 Nov 2007 23:20:22 +0000 (23:20 +0000)]
fix unchecked foreach loops

13 years agoMDL-12284 Moved require_js to weblib and improved it so that it works if called durin...
sam_marshall [Tue, 20 Nov 2007 18:04:03 +0000 (18:04 +0000)]
MDL-12284 Moved require_js to weblib and improved it so that it works if called during header (also tidied up code)

13 years agoMDL-12286 - 'Save as new question' button ignores the setting in the 'Save in categor...
tjhunt [Tue, 20 Nov 2007 17:52:16 +0000 (17:52 +0000)]
MDL-12286 - 'Save as new question' button ignores the setting in the 'Save in category' dropdown. Merged from MOODLE_19_STABLE.

13 years agoMDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead...
tjhunt [Tue, 20 Nov 2007 17:31:13 +0000 (17:31 +0000)]
MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by & and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE.

13 years agoMDL-12282 - Numerical question type - the units are displayed on the editing form...
tjhunt [Tue, 20 Nov 2007 16:57:22 +0000 (16:57 +0000)]
MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places. Merged from MOODLE_18_STABLE.

13 years agoMDL-12280 - Question bank forgets sort order when adding multiple questions to a...
tjhunt [Tue, 20 Nov 2007 15:54:34 +0000 (15:54 +0000)]
MDL-12280 - Question bank forgets sort order when adding multiple questions to a quiz. Merged from MOODLE_19_STABLE.

13 years agoMDL-12133 - Errors calling parent::validation in a moodle form subclass because the...
tjhunt [Tue, 20 Nov 2007 15:08:05 +0000 (15:08 +0000)]
MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method returns true not an empty array. This patch allow subclasses to start their validate method with

$errors = parent::validation($data, $files);

which is what you naturally want to do if you are used to object oriented programming.

Merged from MOODLE_19_STABLE.