Skip to content

Commit

Permalink
refactor: Post Rebase Cleanup of Duplicate Code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBlanchardAC committed Oct 24, 2024
1 parent a1b6d58 commit c2bdb75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions code/web/interface/themes/responsive/account-menu.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{/if}
<div class="header-menu-option" >
<a href="/MyAccount/MyCampaigns">{translate text='Your Campaigns' isPublicFacing=true}</a>
</div>
</div>
{if !empty($enableSavedSearches)}
{* Only highlight saved searches as active if user is logged in: *}
<div class="header-menu-option" ><a href="/Search/History?require_login">{translate text='Your Searches' isPublicFacing=true}</a></div>
Expand All @@ -89,7 +89,6 @@
</a>
</div>
{/if}
<div class="header-menu-option"><a href="/MyAccount/MyCampaigns">{translate text="Your Campaigns" isPublicFacing=true}</a></div>
{if !empty($showUserPreferences)}<div class="header-menu-option" ><a href="/MyAccount/MyPreferences">{translate text='Your Preferences' isPublicFacing=true}</a></div>{/if}
{if $cookieConsentEnabled} <div class="header-menu-option"><a href="/MyAccount/MyCookiePreferences">{translate text="Your Privacy Settings" isPublicFacing=true}</a></div>{/if}
{if !empty($showUserContactInformation)}<div class="header-menu-option" ><a href="/MyAccount/ContactInformation">{translate text='Contact Information' isPublicFacing=true}</a></div>{/if}
Expand Down
3 changes: 0 additions & 3 deletions code/web/sys/Community/CampaignMilestone.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ static function getObjectStructure($context = '') {
];
}

public function canActiveUserEdit() {
return true;
}

public static function getMilestoneByCampaign($campaignId) {
$milestones = [];
Expand Down

0 comments on commit c2bdb75

Please sign in to comment.