|
Martin Dougiamas made changes - 03/Sep/09 04:52 PM
[
Permalink
| « Hide
]
Tim Hunt added a comment - 03/Sep/09 11:28 PM
I am a bit hesitant about allowing block authors to disable delete. Perhpas a hard-coded list, or $CFG->undeletableblocktypes would be better.
Cool thanks Tim, I was keen to see what you thought was the right way around this.
I'll have a think about where this should go and purpose a solution A config setting called undeletableblocktypes that is a comma-separated list of block names would be a good idea.
Default: settings_navigation_tree, global_navigation_tree Arg, now I wish these blocks were just called "navigation" and "settings" ...
Sam Hemelryk committed 2 files to 'Moodle CVS' - 11/Sep/09 02:00 PM
Resolved, have added $CFG->undeletableblocktypes and commented in config-dist
Sam Hemelryk made changes - 11/Sep/09 02:54 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||