Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
LPS-52768 Uses the constants on asset-publisher-web module
Browse files Browse the repository at this point in the history
  • Loading branch information
ealonso committed Feb 27, 2015
1 parent 4b20f07 commit 4a78843
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package com.liferay.so.util;

import com.liferay.asset.publisher.web.constants.AssetPublisherPortletKeys;
import com.liferay.breadcrumb.web.constants.BreadcrumbPortletKeys;
import com.liferay.portal.kernel.configuration.Filter;
import com.liferay.portal.kernel.exception.PortalException;
Expand Down Expand Up @@ -152,7 +153,9 @@ else if (portletId.contains("_WAR_contactsportlet")) {
else if (portletId.startsWith(BreadcrumbPortletKeys.BREADCRUMB)) {
removePortletBorder(layout, portletId);
}
else if (portletId.startsWith(PortletKeys.ASSET_PUBLISHER)) {
else if (portletId.startsWith(
AssetPublisherPortletKeys.ASSET_PUBLISHER)) {

configureAssetPublisher(layout);
updatePortletTitle(layout, portletId, "related-content");
}
Expand Down
1 change: 1 addition & 0 deletions hooks/so-hook/ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</info>

<dependencies defaultconf="default">
<dependency name="com.liferay.asset.publisher.web" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency name="com.liferay.bookmarks.api" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency name="com.liferay.breadcrumb.web" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency name="com.liferay.wiki.api" org="com.liferay" rev="1.0.0-SNAPSHOT" />
Expand Down

0 comments on commit 4a78843

Please sign in to comment.