moodle_page: MDL-12212 more ->pagepaths to kill

This commit is contained in:
tjhunt
2009-05-06 08:43:51 +00:00
parent 753debd2ab
commit ad5d5997ed
12 changed files with 17 additions and 24 deletions
+1 -1
View File
@@ -503,7 +503,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
echo '</form>';
echo '</div>';
$CFG->pagepath = 'blocks/' . $block->name;
$PAGE->set_pagetype('blocks-' . $block->name);
print_footer();
die(); // Do not go on with the other page-related stuff
}