From f6b81827326bacc4d654261ffeda5e4f5a6f1a18 Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 8 Feb 2005 02:42:29 +0000 Subject: [PATCH] This isn't quite ready yet, but get this diff out of my sight... --- blocks/pagedemo.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/blocks/pagedemo.php b/blocks/pagedemo.php index 9daa9839dd..12f06378b0 100644 --- a/blocks/pagedemo.php +++ b/blocks/pagedemo.php @@ -148,8 +148,6 @@ // but I'm not sure if it's worth the complexity increase... $pageblocks = blocks_get_by_page($PAGE); } - - $missingblocks = blocks_get_missing($PAGE, $pageblocks); } // The actual display logic is here @@ -177,8 +175,8 @@ if(blocks_have_content($pageblocks[BLOCK_POS_RIGHT]) || $editing) { echo ''; blocks_print_group($PAGE, $pageblocks[BLOCK_POS_RIGHT]); - if ($editing && !empty($missingblocks)) { - blocks_print_adminblock($PAGE, $missingblocks); + if ($editing) { + blocks_print_adminblock($PAGE, $pageblocks); } echo ''; } -- 2.39.5