moodle.git
11 years agofixed missing global
Petr Skoda [Sat, 18 Sep 2010 13:44:01 +0000 (13:44 +0000)]
fixed missing global

11 years agofixed default_valueS typo
Petr Skoda [Sat, 18 Sep 2010 13:43:18 +0000 (13:43 +0000)]
fixed default_valueS typo

11 years agofixed upgrade that never got executed - whatgrade was not filled
Petr Skoda [Sat, 18 Sep 2010 13:40:21 +0000 (13:40 +0000)]
fixed upgrade that never got executed - whatgrade was not filled

11 years agojs_writer is supposed to have static methods only
Petr Skoda [Sat, 18 Sep 2010 13:34:31 +0000 (13:34 +0000)]
js_writer is supposed to have static methods only

11 years agounterminated JS statements
Petr Skoda [Sat, 18 Sep 2010 13:32:06 +0000 (13:32 +0000)]
unterminated JS statements

11 years agodocs fix
Petr Skoda [Sat, 18 Sep 2010 13:30:03 +0000 (13:30 +0000)]
docs fix

11 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

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

11 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

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

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

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

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

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

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

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

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

11 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....

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

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

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

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

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

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

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

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

11 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

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

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

11 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

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

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

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

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

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

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

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

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

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

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

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

11 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

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

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

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

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

11 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

11 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

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

11 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

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

11 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

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

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

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

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

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

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

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

11 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

11 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...

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

11 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

11 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

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

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

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

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

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

11 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

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

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

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

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

11 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

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

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

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

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

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

11 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

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

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

11 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

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

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

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

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

11 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

11 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

11 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

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

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

11 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

11 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);

11 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

11 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.

11 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()

11 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

11 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