moodle.git
15 years agofixed broken on-access migration of old course files
Petr Skoda [Sat, 18 Sep 2010 13:29:25 +0000 (13:29 +0000)]
fixed broken on-access migration of old course files

15 years agoremoved bogus function calls
Petr Skoda [Sat, 18 Sep 2010 13:28:33 +0000 (13:28 +0000)]
removed bogus function calls

15 years agoimproved coding style - mostly variable initialisation + some fixing and spelling
Petr Skoda [Sat, 18 Sep 2010 13:27:21 +0000 (13:27 +0000)]
improved coding style - mostly variable initialisation + some fixing and spelling

15 years agofixed answer checking prevpage typo
Petr Skoda [Sat, 18 Sep 2010 13:23:46 +0000 (13:23 +0000)]
fixed answer checking prevpage typo

15 years agofixed end of cluster scoring
Petr Skoda [Sat, 18 Sep 2010 13:20:31 +0000 (13:20 +0000)]
fixed end of cluster scoring

15 years agofixed typo preventing score update
Petr Skoda [Sat, 18 Sep 2010 13:16:12 +0000 (13:16 +0000)]
fixed typo preventing score update

15 years agohopefully fixed undefined $t
Petr Skoda [Sat, 18 Sep 2010 13:14:43 +0000 (13:14 +0000)]
hopefully fixed undefined $t

15 years agofixed incorrect page id
Petr Skoda [Sat, 18 Sep 2010 13:11:19 +0000 (13:11 +0000)]
fixed incorrect page id

15 years agomore globals fixed
Petr Skoda [Sat, 18 Sep 2010 13:07:45 +0000 (13:07 +0000)]
more globals fixed

15 years agoanother missing global
Petr Skoda [Sat, 18 Sep 2010 13:06:03 +0000 (13:06 +0000)]
another missing global

15 years agofixed missing global
Petr Skoda [Sat, 18 Sep 2010 13:05:42 +0000 (13:05 +0000)]
fixed missing global

15 years agoadded missing globals, strange this seemed to work....
Petr Skoda [Sat, 18 Sep 2010 13:04:10 +0000 (13:04 +0000)]
added missing globals, strange this seemed to work....

15 years agospelling fix
Petr Skoda [Sat, 18 Sep 2010 12:59:57 +0000 (12:59 +0000)]
spelling fix

15 years agofixed forced reparsing after update
Petr Skoda [Sat, 18 Sep 2010 12:59:21 +0000 (12:59 +0000)]
fixed forced reparsing after update

15 years agounterminated JS statement
Petr Skoda [Sat, 18 Sep 2010 12:57:23 +0000 (12:57 +0000)]
unterminated JS statement

15 years agovariable initialisation
Petr Skoda [Sat, 18 Sep 2010 12:56:54 +0000 (12:56 +0000)]
variable initialisation

15 years agofixed notification
Petr Skoda [Sat, 18 Sep 2010 12:55:07 +0000 (12:55 +0000)]
fixed notification

15 years agofixed broken ratings fetching
Petr Skoda [Sat, 18 Sep 2010 12:54:24 +0000 (12:54 +0000)]
fixed broken ratings fetching

15 years agoimproved variable initialisation
Petr Skoda [Sat, 18 Sep 2010 12:51:47 +0000 (12:51 +0000)]
improved variable initialisation

15 years agofixed PHP strict object initialisation
Petr Skoda [Sat, 18 Sep 2010 12:51:08 +0000 (12:51 +0000)]
fixed PHP strict object initialisation

15 years agofixed incorrect intersect copy/pasted from assignment module
Petr Skoda [Sat, 18 Sep 2010 12:50:22 +0000 (12:50 +0000)]
fixed incorrect intersect copy/pasted from assignment module

15 years agofixed global DB
Petr Skoda [Sat, 18 Sep 2010 12:49:43 +0000 (12:49 +0000)]
fixed global DB

15 years agofixed use of $this->item
Petr Skoda [Sat, 18 Sep 2010 12:49:16 +0000 (12:49 +0000)]
fixed use of $this->item

15 years agoinitialized objects and improved coding style
Petr Skoda [Sat, 18 Sep 2010 12:46:11 +0000 (12:46 +0000)]
initialized objects and improved coding style

15 years agofixed unfinished file api conversion
Petr Skoda [Sat, 18 Sep 2010 12:42:06 +0000 (12:42 +0000)]
fixed unfinished file api conversion

15 years agofixed missing global
Petr Skoda [Sat, 18 Sep 2010 12:40:24 +0000 (12:40 +0000)]
fixed missing global

15 years agounterminated JS statement
Petr Skoda [Sat, 18 Sep 2010 12:37:06 +0000 (12:37 +0000)]
unterminated JS statement

15 years agoimproved spelling
Petr Skoda [Sat, 18 Sep 2010 12:31:20 +0000 (12:31 +0000)]
improved spelling

15 years agofixed var name typo
Petr Skoda [Sat, 18 Sep 2010 12:16:38 +0000 (12:16 +0000)]
fixed var name typo

15 years agofixed missing global
Petr Skoda [Sat, 18 Sep 2010 12:16:02 +0000 (12:16 +0000)]
fixed missing global

15 years agoimproved PHPDocs
Petr Skoda [Sat, 18 Sep 2010 12:15:36 +0000 (12:15 +0000)]
improved PHPDocs

15 years agofixed invalid js init call
Petr Skoda [Sat, 18 Sep 2010 12:14:20 +0000 (12:14 +0000)]
fixed invalid js init call

15 years agoimproved PHP docs
Petr Skoda [Sat, 18 Sep 2010 12:12:33 +0000 (12:12 +0000)]
improved PHP docs

15 years agofixed missing ;
Petr Skoda [Sat, 18 Sep 2010 12:11:10 +0000 (12:11 +0000)]
fixed missing ;

15 years agofixed unterminated JS statement
Petr Skoda [Sat, 18 Sep 2010 12:10:32 +0000 (12:10 +0000)]
fixed unterminated JS statement

15 years agohmm, it is reset course not courses
Petr Skoda [Sat, 18 Sep 2010 12:08:16 +0000 (12:08 +0000)]
hmm, it is reset course not courses

15 years agoa few spelling fixes
Petr Skoda [Sat, 18 Sep 2010 12:07:01 +0000 (12:07 +0000)]
a few spelling fixes

15 years agoimproved phpdocs
Petr Skoda [Sat, 18 Sep 2010 11:57:26 +0000 (11:57 +0000)]
improved phpdocs

15 years agoimproved defines coding style
Petr Skoda [Sat, 18 Sep 2010 11:57:06 +0000 (11:57 +0000)]
improved defines coding style

15 years agofixed incorrect $f
Petr Skoda [Sat, 18 Sep 2010 11:56:01 +0000 (11:56 +0000)]
fixed incorrect $f

15 years agofixed phpdocs and proposed a better change
Petr Skoda [Sat, 18 Sep 2010 11:52:59 +0000 (11:52 +0000)]
fixed phpdocs and proposed a better change

15 years agoportfolio MDL-24267 fixing misnamed variable
Penny Leach [Sat, 18 Sep 2010 11:50:39 +0000 (11:50 +0000)]
portfolio MDL-24267  fixing misnamed variable

15 years agofixed unterminated JS statement
Petr Skoda [Sat, 18 Sep 2010 11:50:18 +0000 (11:50 +0000)]
fixed unterminated JS statement

15 years agoportfolio MDL-24266 fixing a typo in class name instance of check found by petr's...
Penny Leach [Sat, 18 Sep 2010 11:50:12 +0000 (11:50 +0000)]
portfolio MDL-24266 fixing a typo in class name instance of check found by petr's insane new toy

15 years agofixed missing globals
Petr Skoda [Sat, 18 Sep 2010 11:45:59 +0000 (11:45 +0000)]
fixed missing globals

15 years agobad luck, qti_two needs to be converted to new file api
Petr Skoda [Sat, 18 Sep 2010 11:43:59 +0000 (11:43 +0000)]
bad luck, qti_two needs to be converted to new file api

15 years agoPHP4 not used any more
Petr Skoda [Sat, 18 Sep 2010 11:42:02 +0000 (11:42 +0000)]
PHP4 not used any more

15 years agofixed time limit
Petr Skoda [Sat, 18 Sep 2010 11:41:16 +0000 (11:41 +0000)]
fixed time limit

15 years agofixed missing userid
Petr Skoda [Sat, 18 Sep 2010 11:40:52 +0000 (11:40 +0000)]
fixed missing userid

15 years agofixed unterminated JS statements
Petr Skoda [Sat, 18 Sep 2010 11:36:48 +0000 (11:36 +0000)]
fixed unterminated JS statements

15 years agofixed broken enrol description fetching
Petr Skoda [Sat, 18 Sep 2010 11:35:22 +0000 (11:35 +0000)]
fixed broken enrol description fetching

15 years agoinitialize objects
Petr Skoda [Sat, 18 Sep 2010 11:32:56 +0000 (11:32 +0000)]
initialize objects

15 years agofixed missing global
Petr Skoda [Sat, 18 Sep 2010 11:32:28 +0000 (11:32 +0000)]
fixed missing global

15 years agohelping IDEs with undefined variable detection
Petr Skoda [Sat, 18 Sep 2010 11:29:45 +0000 (11:29 +0000)]
helping IDEs with undefined variable detection

15 years agoopps, removing obsolete config.php deletion - this function is now used from differen...
Petr Skoda [Sat, 18 Sep 2010 11:29:10 +0000 (11:29 +0000)]
opps, removing obsolete config.php deletion - this function is now used from different installers, admins will have to delete config.php manually...

15 years agoremoved bogus code + spelling fix
Petr Skoda [Sat, 18 Sep 2010 11:27:06 +0000 (11:27 +0000)]
removed bogus code + spelling fix

15 years agoadding missing global breaking some mnet jumping
Petr Skoda [Sat, 18 Sep 2010 11:24:21 +0000 (11:24 +0000)]
adding missing global breaking some mnet jumping

15 years agofixing whitespace and commenting on some suspicious code
Petr Skoda [Sat, 18 Sep 2010 11:23:46 +0000 (11:23 +0000)]
fixing whitespace and commenting on some suspicious code

15 years agofixed invalid font substr
Petr Skoda [Sat, 18 Sep 2010 11:21:42 +0000 (11:21 +0000)]
fixed invalid font substr

15 years agofixed fatal dml conversion regression
Petr Skoda [Sat, 18 Sep 2010 11:20:21 +0000 (11:20 +0000)]
fixed fatal dml conversion regression

15 years agofixed misspelled error tracing
Petr Skoda [Sat, 18 Sep 2010 11:19:58 +0000 (11:19 +0000)]
fixed misspelled error tracing

15 years agofixed invalid context creation call
Petr Skoda [Sat, 18 Sep 2010 11:19:37 +0000 (11:19 +0000)]
fixed invalid context creation call

15 years agoremoved undefined function call
Petr Skoda [Sat, 18 Sep 2010 11:18:06 +0000 (11:18 +0000)]
removed undefined function call

15 years agofixed few more problems in deprecated functions
Petr Skoda [Sat, 18 Sep 2010 11:16:45 +0000 (11:16 +0000)]
fixed few more problems in deprecated functions

15 years agofixed invalid object creation
Petr Skoda [Sat, 18 Sep 2010 11:15:45 +0000 (11:15 +0000)]
fixed invalid object creation

15 years agofixed invalid method call
Petr Skoda [Sat, 18 Sep 2010 11:15:15 +0000 (11:15 +0000)]
fixed invalid method call

15 years agofixed undefined function
Petr Skoda [Sat, 18 Sep 2010 11:14:09 +0000 (11:14 +0000)]
fixed undefined function

15 years agofixed missing params
Petr Skoda [Sat, 18 Sep 2010 11:10:58 +0000 (11:10 +0000)]
fixed missing params

15 years agofixed regressions after second outputlib refactoring
Petr Skoda [Sat, 18 Sep 2010 11:09:54 +0000 (11:09 +0000)]
fixed regressions after second outputlib refactoring

15 years agofixed invalid return
Petr Skoda [Sat, 18 Sep 2010 11:06:12 +0000 (11:06 +0000)]
fixed invalid return

15 years agofixed unterminated JS statements
Petr Skoda [Sat, 18 Sep 2010 11:04:02 +0000 (11:04 +0000)]
fixed unterminated JS statements

15 years agospelling fixes
Petr Skoda [Sat, 18 Sep 2010 11:00:48 +0000 (11:00 +0000)]
spelling fixes

15 years agoremoved some unused local variables
Petr Skoda [Sat, 18 Sep 2010 10:59:29 +0000 (10:59 +0000)]
removed some unused local variables

15 years agofixed invalid form setType() call
Petr Skoda [Sat, 18 Sep 2010 10:56:15 +0000 (10:56 +0000)]
fixed invalid form setType() call

15 years agoremoved unnecessary break that was breaking code inspection
Petr Skoda [Sat, 18 Sep 2010 10:51:24 +0000 (10:51 +0000)]
removed unnecessary break that was breaking code inspection

15 years agoimproved docs
Petr Skoda [Sat, 18 Sep 2010 10:50:50 +0000 (10:50 +0000)]
improved docs

15 years agospelling improvements
Petr Skoda [Sat, 18 Sep 2010 10:46:53 +0000 (10:46 +0000)]
spelling improvements

15 years agofixed phpdocs and marked methods as static
Petr Skoda [Sat, 18 Sep 2010 10:43:50 +0000 (10:43 +0000)]
fixed phpdocs and marked methods as static

15 years agofixed unterminated JS statements
Petr Skoda [Sat, 18 Sep 2010 10:37:19 +0000 (10:37 +0000)]
fixed unterminated JS statements

15 years agounterminated JS statement
Petr Skoda [Sat, 18 Sep 2010 10:35:55 +0000 (10:35 +0000)]
unterminated JS statement

15 years agofixed spelling
Petr Skoda [Sat, 18 Sep 2010 10:35:05 +0000 (10:35 +0000)]
fixed spelling

15 years agoremoving unused variables
Petr Skoda [Sat, 18 Sep 2010 10:33:26 +0000 (10:33 +0000)]
removing unused variables

15 years agofixed phpdocs and incorrect exception names
Petr Skoda [Sat, 18 Sep 2010 10:31:31 +0000 (10:31 +0000)]
fixed phpdocs and incorrect exception names

15 years agoimproved coding style, removing unused globals
Petr Skoda [Sat, 18 Sep 2010 10:28:12 +0000 (10:28 +0000)]
improved coding style, removing unused globals

15 years agofixed phpdocs and fatal error in delete method
Petr Skoda [Sat, 18 Sep 2010 10:24:35 +0000 (10:24 +0000)]
fixed phpdocs and fatal error in delete method

15 years agofixed spelling typo
Petr Skoda [Sat, 18 Sep 2010 10:21:09 +0000 (10:21 +0000)]
fixed spelling typo

15 years agospelling fixes
Petr Skoda [Sat, 18 Sep 2010 10:14:46 +0000 (10:14 +0000)]
spelling fixes

15 years agoportfolio MDL-24263 removing conditional use of $this inside a static method
Penny Leach [Sat, 18 Sep 2010 08:42:44 +0000 (08:42 +0000)]
portfolio  MDL-24263 removing conditional use of $this inside a static method

15 years agoMDL-24261 Remove $question->correctanswer = ($falseanswer->fraction != 0);
Pierre Pichet [Sat, 18 Sep 2010 02:24:09 +0000 (02:24 +0000)]
MDL-24261 Remove $question->correctanswer = ($falseanswer->fraction != 0);

15 years agoUpdated the HEAD build version to 20100918
Moodle Robot [Sat, 18 Sep 2010 00:51:50 +0000 (00:51 +0000)]
Updated the HEAD build version to 20100918

15 years agoMDL-24238 workshop: button to show all participants again after successful manual...
David Mudrak [Sat, 18 Sep 2010 00:25:04 +0000 (00:25 +0000)]
MDL-24238 workshop: button to show all participants again after successful manual allocation

This replaces the closer of the status message. That bits of UI come
from very early times of workshop development and might be replaced
completely.

15 years agoNOMDL workshop: fixing correct arguments order after recent Petr's play with property...
David Mudrak [Fri, 17 Sep 2010 23:43:25 +0000 (23:43 +0000)]
NOMDL workshop: fixing correct arguments order after recent Petr's play with property_exists()

15 years agoMDL-21382 mform: escape invalid characters when generating javascript validation...
David Mudrak [Fri, 17 Sep 2010 22:44:53 +0000 (22:44 +0000)]
MDL-21382 mform: escape invalid characters when generating javascript validation function name

This patch fixes the support for addGroupRule in cases when the element
name contains invalid characters like square brackets (that is if the
group element is an array element).

Credit goes to Hubert Chathi for the solution and the patch provided.

Cherry-picked from MOODLE_19_STABLE

15 years agofixing messed up property_exists() regression - sorrrry
Petr Skoda [Fri, 17 Sep 2010 20:36:49 +0000 (20:36 +0000)]
fixing messed up property_exists() regression - sorrrry

15 years agofixing silyl property_exists() conversion + coding style
Petr Skoda [Fri, 17 Sep 2010 20:32:34 +0000 (20:32 +0000)]
fixing silyl property_exists() conversion + coding style

15 years agocoding style fix
Petr Skoda [Fri, 17 Sep 2010 20:25:33 +0000 (20:25 +0000)]
coding style fix

15 years agofixed duplicate id detection in get_records_sql()
Petr Skoda [Fri, 17 Sep 2010 20:25:02 +0000 (20:25 +0000)]
fixed duplicate id detection in get_records_sql()

15 years agofixed property_exists
Petr Skoda [Fri, 17 Sep 2010 20:23:29 +0000 (20:23 +0000)]
fixed property_exists

15 years agofixed spelling errors
Petr Skoda [Fri, 17 Sep 2010 20:20:24 +0000 (20:20 +0000)]
fixed spelling errors

15 years agofixed $table when throwing exception
Petr Skoda [Fri, 17 Sep 2010 20:19:05 +0000 (20:19 +0000)]
fixed $table when throwing exception