diff --git a/config/alfresco/patch/patch-services-context.xml b/config/alfresco/patch/patch-services-context.xml index da713f8db5..f63469057a 100644 --- a/config/alfresco/patch/patch-services-context.xml +++ b/config/alfresco/patch/patch-services-context.xml @@ -1102,20 +1102,12 @@ - + patch.createSiteStore - patch.createSiteStore.description + patch.noOpPatch.description 0 126 127 - - - - - - - - @@ -2936,7 +2928,11 @@ 5011 5012 false - + + + + + @@ -3057,6 +3053,11 @@ 0 5017 5018 + + + + + true true diff --git a/source/java/org/alfresco/repo/admin/patch/impl/SiteStorePatch.java b/source/java/org/alfresco/repo/admin/patch/impl/SiteStorePatch.java deleted file mode 100644 index 3bdae37706..0000000000 --- a/source/java/org/alfresco/repo/admin/patch/impl/SiteStorePatch.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.admin.patch.impl; - -import org.springframework.extensions.surf.util.I18NUtil; -import org.alfresco.repo.admin.patch.AbstractPatch; -import org.alfresco.repo.site.SiteAVMBootstrap; - -/** - * @author Kevin Roast - */ -public class SiteStorePatch extends AbstractPatch -{ - private static final String MSG_RESULT = "patch.createSiteStore.result"; - - private SiteAVMBootstrap siteBootstrap; - - - /** - * @param siteBootstrap the SiteAVMBootstrap component to set - */ - public void setSiteAVMBootstrap(SiteAVMBootstrap siteBootstrap) - { - this.siteBootstrap = siteBootstrap; - } - - - /** - * @see org.alfresco.repo.admin.patch.AbstractPatch#checkProperties() - */ - @Override - protected void checkProperties() - { - super.checkProperties(); - checkPropertyNotNull(this.siteBootstrap, "siteAVMBootstrap"); - } - - /** - * @see org.alfresco.repo.admin.patch.AbstractPatch#applyInternal() - */ - @Override - protected String applyInternal() throws Exception - { - this.siteBootstrap.bootstrap(); - - return I18NUtil.getMessage(MSG_RESULT); - } -}