From 8085a7d6e2799da84449192d35c9be1a2d105f21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl>
Date: Sat, 3 Mar 2007 01:22:28 +0000
Subject: [PATCH] New pages must not be linked to section.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13204 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_web/WebSection_newWebPage.xml            | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_newWebPage.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_newWebPage.xml
index a416497a5b..f9464c95aa 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_newWebPage.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_newWebPage.xml
@@ -87,9 +87,6 @@ web_page = web_page_module.newContent(portal_type = \'Web Page\', \n
 category_list = context.getMembershipCriterionCategoryList()\n
 web_page.setCategoryList(category_list)\n
 \n
-# Create relation between section and page\n
-context.setDefaultAggregateValue(web_page)\n
-\n
 # Return the new page in the section context\n
 return web_page.Base_redirect(\'view\',\n
           keep_items = dict(editable_mode=1,\n
-- 
2.30.9