moodle.git
14 years agomissing global $CFG ; line 577
pichetp [Sat, 6 Oct 2007 19:02:26 +0000 (19:02 +0000)]
missing    global $CFG ; line 577
  function save_dataset_items($question, $fromform){
global $CFG;

14 years agoORPHAN_USER_LASTACCESS_PROBLEM . MDL-11604
stronk7 [Fri, 5 Oct 2007 22:27:55 +0000 (22:27 +0000)]
ORPHAN_USER_LASTACCESS_PROBLEM . MDL-11604

14 years agoMDL-11621 removed recursion from create_contexts()
skodak [Fri, 5 Oct 2007 20:47:08 +0000 (20:47 +0000)]
MDL-11621 removed recursion from create_contexts()

14 years agoMDL-11621 new create_contexts() function that makes sure all contexts exist, optional...
skodak [Fri, 5 Oct 2007 20:16:51 +0000 (20:16 +0000)]
MDL-11621 new create_contexts() function that makes sure all contexts exist, optionally initialises the paths and depths too

14 years agoMDL-11521 fixed problems when creating contexts and aprents does not exist yet
skodak [Fri, 5 Oct 2007 15:06:38 +0000 (15:06 +0000)]
MDL-11521 fixed problems when creating contexts and aprents does not exist yet
MDL-11527 fixed warning from $CFG->defaultuserroleid when installing and upgrading
+ removed reusing of previous contexts in has_capability() and get_context_instance()  because it was hiding critical errors when context was false, not specified, etc.
+ tweaked roles defaults - faster and defaults are applied when roles exist
+ SYSCONTEXTID may be specified in config.php to eliminate 1 db query
+ static context cache is now reset after rebuilding of context paths
+ path field in context table is now nullable - pg compatibility requirement
+ other minor fixes

14 years agofixed whitespace
skodak [Fri, 5 Oct 2007 14:31:57 +0000 (14:31 +0000)]
fixed whitespace

14 years agoSome SQL fixes to avoid putting 'quotes' around integers (performance)
moodler [Fri, 5 Oct 2007 13:34:28 +0000 (13:34 +0000)]
Some SQL fixes to avoid putting 'quotes' around integers  (performance)

14 years agoMDL-11576 grader report - if user can not see hidden grades they are treated as NULLs...
skodak [Fri, 5 Oct 2007 09:47:31 +0000 (09:47 +0000)]
MDL-11576 grader report - if user can not see hidden grades they are treated as NULLs and column totals

14 years agoPass $modcontext down through the functions so that print_post is more efficient...
moodler [Fri, 5 Oct 2007 07:26:02 +0000 (07:26 +0000)]
Pass $modcontext down through the functions so that print_post is more efficient   MDL-11606

14 years agoGet imagealt during outer loops so that print_user_picture is more efficient MDL...
moodler [Fri, 5 Oct 2007 06:47:14 +0000 (06:47 +0000)]
Get imagealt during outer loops so that print_user_picture is more efficient   MDL-11606

14 years agoEfficiency improvements to bring some SQL statements out of loops MDL-11606
moodler [Fri, 5 Oct 2007 06:36:31 +0000 (06:36 +0000)]
Efficiency improvements to bring some SQL statements out of loops  MDL-11606

14 years agoSmall efficiency improvement for print_user_picture() when it does access the db
moodler [Fri, 5 Oct 2007 06:32:53 +0000 (06:32 +0000)]
Small efficiency improvement for print_user_picture() when it does access the db

14 years agoMDL-11549, print_user() should also check user context when printing activity report...
toyomoyo [Fri, 5 Oct 2007 06:31:11 +0000 (06:31 +0000)]
MDL-11549, print_user() should also check user context when printing activity report link

14 years agoMDL-11500 Catching empty $coursemod when viewhiddensection is false, + corrected...
nicolasconnault [Fri, 5 Oct 2007 05:40:56 +0000 (05:40 +0000)]
MDL-11500 Catching empty $coursemod when viewhiddensection is false, + corrected type $coursemode => $coursemod

14 years agoMDL-11519 Commented out the Ajax option
nicolasconnault [Fri, 5 Oct 2007 05:37:55 +0000 (05:37 +0000)]
MDL-11519 Commented out the Ajax option

14 years agoMDL-11525 When courseid is not present in the log entry, showing "Site" instead of...
nicolasconnault [Fri, 5 Oct 2007 04:24:42 +0000 (04:24 +0000)]
MDL-11525 When courseid is not present in the log entry, showing "Site" instead of $log->info

14 years agomerged fix for MDL-10353, calendar export not handing course variable correctly
toyomoyo [Fri, 5 Oct 2007 03:52:17 +0000 (03:52 +0000)]
merged fix for MDL-10353, calendar export not handing course variable correctly

14 years agoMDL-11580 support for hidden state modification in gradebook from activities (quiz...
skodak [Thu, 4 Oct 2007 22:57:14 +0000 (22:57 +0000)]
MDL-11580 support for hidden state modification in gradebook from activities (quiz now only) - part 1
the hiding/unhiding should be IMO locked in gradebook UI when activity overrides it

14 years agoMDL-11492 help file re-write
wildgirl [Thu, 4 Oct 2007 20:32:09 +0000 (20:32 +0000)]
MDL-11492 help file re-write

14 years agoReset possible changes by blocks to time_limit. MDL-11597
stronk7 [Thu, 4 Oct 2007 17:55:59 +0000 (17:55 +0000)]
Reset possible changes by blocks to time_limit. MDL-11597

14 years agoReset possible changes by modules to time_limit. MDL-11597
stronk7 [Thu, 4 Oct 2007 17:42:30 +0000 (17:42 +0000)]
Reset possible changes by modules to time_limit. MDL-11597

14 years agoMDL-11599 missing return statement
skodak [Thu, 4 Oct 2007 17:09:34 +0000 (17:09 +0000)]
MDL-11599 missing return statement

14 years agoMDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.
tjhunt [Thu, 4 Oct 2007 15:57:09 +0000 (15:57 +0000)]
MDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.

Also, reviewing the new code made me realise that the code in mod/quiz/report/overview/report.php was a mess, so I cleaned it up a bit.

14 years agoAdded some default roles that should have moodle/grade:viewhidden
moodler [Thu, 4 Oct 2007 15:45:37 +0000 (15:45 +0000)]
Added some default roles that should have moodle/grade:viewhidden

related to MDL-11580

14 years agoRe-enabling inherit options for range and average rows in grader report
nicolasconnault [Thu, 4 Oct 2007 15:07:08 +0000 (15:07 +0000)]
Re-enabling inherit options for range and average rows in grader report

14 years agoRe-enabling inherit options for range and average rows in grader report
nicolasconnault [Thu, 4 Oct 2007 09:30:16 +0000 (09:30 +0000)]
Re-enabling inherit options for range and average rows in grader report

14 years agoJust a little tidying up in the user report (padding)
moodler [Thu, 4 Oct 2007 09:21:23 +0000 (09:21 +0000)]
Just a little tidying up in the user report (padding)

14 years agoMDL-11582 switch category item only if it is really there - forgot to add courseitem...
skodak [Thu, 4 Oct 2007 09:00:29 +0000 (09:00 +0000)]
MDL-11582 switch category item only if it is really there - forgot to add courseitem into condition

14 years agomoving the class instantiation a bit earlier so that we can safely modify it
skodak [Thu, 4 Oct 2007 08:48:04 +0000 (08:48 +0000)]
moving the class instantiation a bit earlier so that we can safely modify it

14 years agoMDL-11582 switch category item only if it is really there
skodak [Thu, 4 Oct 2007 08:36:34 +0000 (08:36 +0000)]
MDL-11582 switch category item only if it is really there

14 years agoMDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz...
toyomoyo [Thu, 4 Oct 2007 08:22:55 +0000 (08:22 +0000)]
MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set

14 years agoMDL-11576 Added the groupsql clause to has_hidden_grades
nicolasconnault [Thu, 4 Oct 2007 08:16:13 +0000 (08:16 +0000)]
MDL-11576 Added the groupsql clause to has_hidden_grades

14 years agoMDL-11576 New grade_item method has_hidden_grades(), which returns a simple count...
nicolasconnault [Thu, 4 Oct 2007 08:02:00 +0000 (08:02 +0000)]
MDL-11576 New grade_item method has_hidden_grades(), which returns a simple count of hidden grades for the item.

14 years agoInstantiating a full $grade_item object, otherwise the get_displaytype() method is...
nicolasconnault [Thu, 4 Oct 2007 07:44:13 +0000 (07:44 +0000)]
Instantiating a full $grade_item object, otherwise the get_displaytype() method is not available and causes a fatal error

14 years agoMDL-11544, tags migrate script postgres db problem
toyomoyo [Thu, 4 Oct 2007 07:06:54 +0000 (07:06 +0000)]
MDL-11544, tags migrate script postgres db problem

14 years agoMDL-11581 Implemented gradedisplaytype in user reports
nicolasconnault [Thu, 4 Oct 2007 07:02:44 +0000 (07:02 +0000)]
MDL-11581 Implemented gradedisplaytype in user reports

14 years agoLatest tags file
moodler [Thu, 4 Oct 2007 06:44:51 +0000 (06:44 +0000)]
Latest tags file

14 years agoFIxed a string name which changed
moodler [Thu, 4 Oct 2007 06:06:07 +0000 (06:06 +0000)]
FIxed a string name which changed

14 years agouse target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation...
gbateson [Thu, 4 Oct 2007 05:32:27 +0000 (05:32 +0000)]
use target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation is set to "Moodle navigation frame"so that Moodle does not get stuck in sub frame

14 years agomerged fix for MDL-10353, after setting preferences user should return to same course...
toyomoyo [Thu, 4 Oct 2007 05:13:28 +0000 (05:13 +0000)]
merged fix for MDL-10353, after setting preferences user should return to same course view

14 years agoAutomatic installer.php lang files by installer_builder (20071004)
moodler [Thu, 4 Oct 2007 05:12:43 +0000 (05:12 +0000)]
installer.php lang files by installer_builder (20071004)

14 years agoprevent returning of invalid array from get_course_managers()
skodak [Wed, 3 Oct 2007 22:26:05 +0000 (22:26 +0000)]
prevent returning of invalid array from get_course_managers()

14 years agoMDL-11587 new grade_seq class similar to grade_tree but flat
skodak [Wed, 3 Oct 2007 21:14:58 +0000 (21:14 +0000)]
MDL-11587 new grade_seq class similar to grade_tree but flat

14 years agoMDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin...
skodak [Wed, 3 Oct 2007 20:24:59 +0000 (20:24 +0000)]
MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector

14 years agoMDL-11585 false is not allowed default in admin_setting_configselect constructor
skodak [Wed, 3 Oct 2007 20:02:12 +0000 (20:02 +0000)]
MDL-11585 false is not allowed default in admin_setting_configselect constructor

14 years agoMoving some uses of deprecated functions to recordsets
stronk7 [Wed, 3 Oct 2007 18:39:38 +0000 (18:39 +0000)]
Moving some uses of deprecated functions to recordsets
in cron. MDL-11571 and MDL-11487.
Fixed wrong call to cleanup_dirty_contexts() and changed
to gc_cache_flags(). Please review. MDL-11347

14 years agoMDL-11344 Reverting commit 1.145 and keeping deprecated $string['editlang'] for backw...
mudrd8mz [Wed, 3 Oct 2007 16:39:08 +0000 (16:39 +0000)]
MDL-11344 Reverting commit 1.145 and keeping deprecated $string['editlang'] for backwards compatibility.

14 years agoMoving 3 functions from datalib to deprecatedlib. Only used
stronk7 [Wed, 3 Oct 2007 16:31:20 +0000 (16:31 +0000)]
Moving 3 functions from datalib to deprecatedlib. Only used
by admin/cron.php. First step of MDL-11571 and MDL-11487

14 years agoMDL-11143 fixed defaultfrongpageroleid typo and fixed notices during install and...
skodak [Wed, 3 Oct 2007 14:38:55 +0000 (14:38 +0000)]
MDL-11143 fixed defaultfrongpageroleid typo and fixed notices during install and upgrade cause by undefined $CFG->defaultfrontpageroleid

14 years agofixed context parameter in has_capability() call
skodak [Wed, 3 Oct 2007 14:16:04 +0000 (14:16 +0000)]
fixed context parameter in has_capability() call

14 years agofixed incorrect use of forum contexts in search/documents/*
skodak [Wed, 3 Oct 2007 14:13:13 +0000 (14:13 +0000)]
fixed incorrect use of forum contexts in search/documents/*

14 years agoAdapted README due to attribute requirement change
exe-cutor [Wed, 3 Oct 2007 12:36:48 +0000 (12:36 +0000)]
Adapted README due to attribute requirement change

14 years agoFixed longtimenosee unenrolments. user_lastaccess and role_assignments were growing...
moodler [Wed, 3 Oct 2007 12:24:06 +0000 (12:24 +0000)]
Fixed longtimenosee unenrolments.  user_lastaccess and role_assignments were growing with uneccessary entries, to the point where memory limits were reached and in the end NO unenrolments were happening at all.

See  MDL-11571

14 years agoMDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a depende...
nicolasconnault [Wed, 3 Oct 2007 12:22:25 +0000 (12:22 +0000)]
MDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a dependency problem in moodlelib

14 years agoDon't use the 100 limit for debugging in anything lower than DEBUG_DEVELOPER mode
moodler [Wed, 3 Oct 2007 12:04:02 +0000 (12:04 +0000)]
Don't use the 100 limit for debugging in anything lower than DEBUG_DEVELOPER mode

14 years agoMDL-11566 site summary now optional
skodak [Wed, 3 Oct 2007 10:35:34 +0000 (10:35 +0000)]
MDL-11566 site summary now optional

14 years agoFixed some notices but this needs review from Petr MDL-10383
moodler [Wed, 3 Oct 2007 09:12:01 +0000 (09:12 +0000)]
Fixed some notices but this needs review from Petr   MDL-10383

14 years agoMDL-11553, bulk user actions selection buttons do not work as expected
toyomoyo [Wed, 3 Oct 2007 08:26:13 +0000 (08:26 +0000)]
MDL-11553, bulk user actions selection buttons do not work as expected

14 years agoMDL-11535, error in block sql group by clause
toyomoyo [Wed, 3 Oct 2007 06:20:23 +0000 (06:20 +0000)]
MDL-11535, error in block sql group by clause

14 years agoAutomatic installer.php lang files by installer_builder (20071003)
moodler [Wed, 3 Oct 2007 05:07:25 +0000 (05:07 +0000)]
installer.php lang files by installer_builder (20071003)

14 years agoMDL-11139 "Need to pass courseid or cmid to this script when moving questions between...
jamiesensei [Wed, 3 Oct 2007 04:42:57 +0000 (04:42 +0000)]
MDL-11139 "Need to pass courseid or cmid to this script when moving questions between categories "  added COURSE to globals in function that redirects browser to contextmoveq page.

14 years agoMDL-10353, in view.php we should not supply default course, otherwise calendar filter...
toyomoyo [Wed, 3 Oct 2007 04:21:53 +0000 (04:21 +0000)]
MDL-10353, in view.php we should not supply default course, otherwise calendar filters will not be set up properly (course filter wrong)

14 years agoMake sure that the role names gets filtered in get_assignable_roles()
moodler [Wed, 3 Oct 2007 03:33:57 +0000 (03:33 +0000)]
Make sure that the role names gets filtered in get_assignable_roles()

14 years agoFixed the list of role names (order and filters) MDL-11143
moodler [Wed, 3 Oct 2007 03:31:31 +0000 (03:31 +0000)]
Fixed the list of role names (order and filters)   MDL-11143

14 years agofix for fatal error in tabs.php because of missing global var contexts.
jamiesensei [Wed, 3 Oct 2007 03:16:27 +0000 (03:16 +0000)]
fix for fatal error in tabs.php because of missing global var contexts.

14 years agoMDL-11568 warnings - can not use $USER->property when not logged in - quick fix,...
skodak [Tue, 2 Oct 2007 23:08:00 +0000 (23:08 +0000)]
MDL-11568 warnings - can not use $USER->property when not logged in - quick fix, please review last commits

14 years agoMDL-11523 fixed - moving categories and courses around breaks paths and depths in...
skodak [Tue, 2 Oct 2007 22:34:12 +0000 (22:34 +0000)]
MDL-11523 fixed - moving categories and courses around breaks paths and depths in context table + some notice fixes

14 years agoonly whitespace beautification
skodak [Tue, 2 Oct 2007 21:45:49 +0000 (21:45 +0000)]
only whitespace beautification

14 years agoMDL-11143 unimportant change
skodak [Tue, 2 Oct 2007 21:45:02 +0000 (21:45 +0000)]
MDL-11143 unimportant change

14 years agoMDL-11562 supportname and supportemail are are now initialized after admin user setup
skodak [Tue, 2 Oct 2007 21:38:53 +0000 (21:38 +0000)]
MDL-11562 supportname and supportemail are are now initialized after admin user setup
MDL-11566 only site shortname, fullname and desc are required/displayed during installation
MDL-11567 fixed upgradesettings redirects if error in settings
MDL-11143 defaultfrontpageroleid moved to Frontpage settings page (easier to find), speedup

14 years agoPHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.
tjhunt [Tue, 2 Oct 2007 18:49:04 +0000 (18:49 +0000)]
PHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.

14 years agoadded missing string definition for sectionerror. Fixed MDL-10766
whchuang [Tue, 2 Oct 2007 17:59:06 +0000 (17:59 +0000)]
added missing string definition for sectionerror. Fixed MDL-10766

14 years agoDONAL, PLEASE START USING OUR DB EDITOR! the last commit did have invalid XML, incorr...
skodak [Tue, 2 Oct 2007 16:50:43 +0000 (16:50 +0000)]
DONAL, PLEASE START USING OUR DB EDITOR! the last commit did have invalid XML, incorrect next/prev attributes, different data in install.xml and upgrade.php; the main reason to have this editor was to prevent this type of critical errors ;-)

14 years agoMDL-11555 temporary patch for too long index on mysql - in mysql the limit is 333...
skodak [Tue, 2 Oct 2007 16:20:45 +0000 (16:20 +0000)]
MDL-11555 temporary patch for too long index on mysql - in mysql the limit is 333 unicode chars
move the gradebook cleanup to the end of upgrade.php - please keep it there

14 years agoVersion bump for roaming themes. Mods are to mnet_host table. MDL-11545
donal72 [Tue, 2 Oct 2007 16:15:14 +0000 (16:15 +0000)]
Version bump for roaming themes. Mods are to mnet_host table. MDL-11545

14 years agoChoose the correct theme for SSO-authenticated users. Roaming themes
donal72 [Tue, 2 Oct 2007 16:14:39 +0000 (16:14 +0000)]
Choose the correct theme for SSO-authenticated users. Roaming themes

14 years agoAdd force_theme and theme attributes to peer class for Roaming Themes
donal72 [Tue, 2 Oct 2007 16:12:41 +0000 (16:12 +0000)]
Add force_theme and theme attributes to peer class for Roaming Themes

14 years agoNew files for config of MNet roaming themes
donal72 [Tue, 2 Oct 2007 16:10:19 +0000 (16:10 +0000)]
New files for config of MNet roaming themes

14 years agoDisplay new tabs for the 'Themes' config page in mnet
donal72 [Tue, 2 Oct 2007 16:09:17 +0000 (16:09 +0000)]
Display new tabs for the 'Themes' config page in mnet

14 years agoInstantiate some new strings for roaming themes
donal72 [Tue, 2 Oct 2007 16:08:46 +0000 (16:08 +0000)]
Instantiate some new strings for roaming themes

14 years agoSome strings for roaming themes
donal72 [Tue, 2 Oct 2007 16:07:10 +0000 (16:07 +0000)]
Some strings for roaming themes

14 years agoFix for version no. (date) in upgrade.php
donal72 [Tue, 2 Oct 2007 15:44:36 +0000 (15:44 +0000)]
Fix for version no. (date) in upgrade.php

14 years agoNew database fields in mnet_host for roaming themes
donal72 [Tue, 2 Oct 2007 15:43:11 +0000 (15:43 +0000)]
New database fields in mnet_host for roaming themes

14 years agoadding caps for new gradebook settings into has_admin_caps() perf hack in block_admin...
skodak [Tue, 2 Oct 2007 15:33:09 +0000 (15:33 +0000)]
adding caps for new gradebook settings into has_admin_caps() perf hack in block_admin_tree

14 years agofixed typo in last commit - undefined $sql
skodak [Tue, 2 Oct 2007 15:24:19 +0000 (15:24 +0000)]
fixed typo in last commit - undefined $sql

14 years agoMDL-11552 - Oops, I missed one bit when merging from OU Moodle.
tjhunt [Tue, 2 Oct 2007 13:32:51 +0000 (13:32 +0000)]
MDL-11552 - Oops, I missed one bit when merging from OU Moodle.

14 years agoMDL-11552 - Look for the name of an admin report inside the plugin's own lang dir...
tjhunt [Tue, 2 Oct 2007 13:30:51 +0000 (13:30 +0000)]
MDL-11552 - Look for the name of an admin report inside the plugin's own lang dir before falling back to the main admin.php lang file.

14 years agoRemoving un-needed DISTINCT here actually solves MDL-11546
moodler [Tue, 2 Oct 2007 09:45:00 +0000 (09:45 +0000)]
Removing un-needed DISTINCT here actually solves MDL-11546

(after discussion with Martin Langhoff in Skype)

14 years agoFixes MDL-11161, Activity type text ... beginning of activity links in Screen Reader...
nfreear [Tue, 2 Oct 2007 09:36:47 +0000 (09:36 +0000)]
Fixes MDL-11161, Activity type text ... beginning of activity links in Screen Reader...moved to end  (also MDL- 7436)

14 years agoaccesslib: dirty context handling now uses cache_flags
martinlanghoff [Tue, 2 Oct 2007 08:46:27 +0000 (08:46 +0000)]
accesslib: dirty context handling now uses cache_flags

get_dirty_contexts() and mark_context_dirty() now use cache_flags
infrastructure. Remove deprecated cleanup_dirty_contexts() - this is
now handled by gc_cache_flags() in a more generic way.

14 years agomoodlelib: Introducing the cache_flags functions
martinlanghoff [Tue, 2 Oct 2007 08:39:44 +0000 (08:39 +0000)]
moodlelib: Introducing the cache_flags functions

These are functions for handling the volatile entries in the
cache_flags table.

 get_cache_flags() - get array of current flags
 set_cache_flag()  - set a single flag
 unset_cache_flag() - unset a single flag
 gc_cache_flags() - garbage-collect expired flags

14 years agoversion bump: introducing cache_flags table to store volatile time-bound flags
martinlanghoff [Tue, 2 Oct 2007 08:38:19 +0000 (08:38 +0000)]
version bump: introducing cache_flags table to store volatile time-bound flags

We are intending to use them for dirty context paths, lightweight
session entries for auth/ldap, and other similar uses...

MDL-11347

14 years agodmllib: more consistent err handling for execute_sql() and others
martinlanghoff [Tue, 2 Oct 2007 08:34:10 +0000 (08:34 +0000)]
dmllib: more consistent err handling for execute_sql() and others

Silent errors in execute_sql() have been causing us lots of grief.
Turns out that if you have dblogerror set, it _will_ write it to the
logs.

DMLlib wasn't consistent. Most "modern" codepaths were calling both
debugging() and the dblogerror idiom. So we make all calls to
$db->Execute() consistent.

(Some exceptions remain, mostly for hardcoded SQL, such as the SET
statements when we connect...)

14 years agoadded 4 new functions for Moodle 1.9 gradebook: "hotpot_get_user_grades", "hotpot_upd...
gbateson [Tue, 2 Oct 2007 07:46:49 +0000 (07:46 +0000)]
added 4 new functions for Moodle 1.9 gradebook: "hotpot_get_user_grades", "hotpot_update_grades", "hotpot_grade_item_update" and "hotpot_grade_item_delete"

14 years agoFixed a notice relating to customcorners not being initialised
moodler [Tue, 2 Oct 2007 07:16:09 +0000 (07:16 +0000)]
Fixed a notice relating to customcorners not being initialised

14 years agoBugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many...
donal72 [Tue, 2 Oct 2007 06:45:40 +0000 (06:45 +0000)]
Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users.

14 years agoApplied DISTINCT as per Martin Langhoff's solution in MDL-11381
moodler [Tue, 2 Oct 2007 06:18:30 +0000 (06:18 +0000)]
Applied DISTINCT as per Martin Langhoff's solution in MDL-11381

user/index: ensure each user appears only once in participants list

Regardless of the number of enrolments, ensure we list a single entry
per user using DISTINCT. Much easier to manage than a GROUP BY.

14 years agochange participants of frontpage course to display all users, if current user has...
toyomoyo [Tue, 2 Oct 2007 03:37:30 +0000 (03:37 +0000)]
change participants of frontpage course to display all users, if current user has capability MDL-11143

14 years agoMDL-11538: lib/olson - bugfix, olson time-zone import doesn't deal with rule changes...
mattc-catalyst [Tue, 2 Oct 2007 01:43:07 +0000 (01:43 +0000)]
MDL-11538: lib/olson - bugfix, olson time-zone import doesn't deal with rule changes in the future

Author: Matt Clarkson <mattc@catalyst.net.nz>

14 years agouse new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove...
gbateson [Sun, 30 Sep 2007 04:21:52 +0000 (04:21 +0000)]
use new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove slashes after preg_replace with "e" modifier, because when MSSQL Server is installed, PHP's "stripslashes()" does not remove slashes, even if the Moodle database is not MSSQL