Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hacks from CRM_Core_Menu for old unsupported versions #11781

Merged
merged 1 commit into from
Mar 13, 2018

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Mar 7, 2018

Overview

Removes unused variables and old unsupported hacks that were needed in ancient times.

Before

Clutter.

After

-18 lines of clutter.

Technical Notes

Currently CiviCRM 4.7 does not support directly upgrading from any version prior to 4.1. So all upgrade code for previous versions should be removed. I had already gotten rid of most of it, here are few stragglers.

@colemanw colemanw changed the title Remove hacks from CRM_Core_Menu for old unsupported versions NFC: Remove hacks from CRM_Core_Menu for old unsupported versions Mar 7, 2018
@mattwire
Copy link
Contributor

mattwire commented Mar 8, 2018

@michaelmcandrew Can you review?

@totten totten changed the title NFC: Remove hacks from CRM_Core_Menu for old unsupported versions Remove hacks from CRM_Core_Menu for old unsupported versions Mar 9, 2018
@michaelmcandrew
Copy link
Contributor

@mattwire - how come you thought of me for this? I don't think I would be much use - I don't have any experience in this part of civi :)

@colemanw
Copy link
Member Author

@totten can you verify this one?

@eileenmcnaughton
Copy link
Contributor

I read through this code and feel confident that it is a safe cleanup. The code removed is very specific to things we no longer need to support per notes above

@eileenmcnaughton eileenmcnaughton merged commit 1811919 into civicrm:master Mar 13, 2018
@eileenmcnaughton eileenmcnaughton deleted the MenuHacks branch March 13, 2018 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants