Added missing delete for authoring step com.arsdigita.cms.ui.authoring.ArticleImage (replaced by ccm-cms-assets-imagestep) to

upgrade ccm-cms-6.6.0-6.6.1


git-svn-id: https://svn.libreccm.org/ccm/trunk@3064 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-12-25 10:02:47 +00:00
parent 49c0ad5a76
commit 89abccb3bf
1 changed files with 11 additions and 0 deletions

View File

@ -38,3 +38,14 @@ INSERT INTO cms_item_image_attachment ( attachment_id, item_id, image_id, captio
FROM cms_article_image_map; FROM cms_article_image_map;
DROP TABLE cms_article_image_map; DROP TABLE cms_article_image_map;
-- Delete ArticleImage authoring step. Replaced by ccm-cms-assets-imagestep. Uses an asset step
-- which is added using the initializer so there is no need to add something to the authoring_steps
-- table.
DELETE FROM authoring_kit_step_map
WHERE step_id IN (SELECT step_id
FROM authoring_steps
WHERE component = 'com.arsdigita.cms.ui.authoring.ArticleImage');
DELETE FROM authoring_steps WHERE component = 'com.arsdigita.cms.ui.authoring.ArticleImage';