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

Lint civicrm.module and civicrm.install files #467

Merged
merged 2 commits into from
Dec 9, 2017

Conversation

seamuslee001
Copy link
Contributor

No description provided.

@seamuslee001
Copy link
Contributor Author

ping @totten @eileenmcnaughton

@eileenmcnaughton
Copy link
Contributor

This looks right to me but there is some changing of functions & moving that seems right, but I'd prefer someone more drupally like @jackrabbithanna or @xurizaemon reviewed

* Implementation of hook_uninstall( )
* Enable CiviCRM.
*/
function civicrm_enable() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moveing of hook_enable to .install file as per http://www.drupalcontrib.org/api/drupal/drupal%21modules%21system%21system.api.php/function/hook_enable/7 "The hook is called every time the module is enabled. It should be implemented in the module's .install file. The implementation can rely on the .module file being loaded."

@seamuslee001
Copy link
Contributor Author

Jenkins test this please

@jackrabbithanna
Copy link
Contributor

This is all very safe to merge

@jackrabbithanna
Copy link
Contributor

Jenkins test this please

@jackrabbithanna
Copy link
Contributor

Merging #467

@jackrabbithanna jackrabbithanna merged commit 40acc30 into civicrm:7.x-master Dec 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants