MDL-30669 - blocks: Added a warning when deleting blocks that have multiple displays...
commit2d931ca93b0432679551b8718ada9b1f0469a7c9
authorAdrian Greeve <adrian@moodle.com>
Thu, 3 Jan 2013 06:22:53 +0000 (3 14:22 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 26 Feb 2013 08:49:52 +0000 (26 09:49 +0100)
tree4f03e6121e664e5ca8dd96def08d9fff0000d98f
parent382b3d759670745ccabf5728144d01d20cff4855
MDL-30669 - blocks: Added a warning when deleting blocks that have multiple displays set.

Also added a fix to the function course_page_type_list(). It was making a call to
get_context_info_array() which will generate an error if $currentcontext is not set.
course/lib.php
lang/en/block.php
lib/blocklib.php