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

Refactor angular modules to use settingsFactory instead of settings #991

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

agileware-fj
Copy link

Fixes #985

Also moves some fairly generically named functions related to the angular module definitions into a class which may prevent clashes

…f settings

Also avoids some potential function name clashes
@olayiwola-compucorp
Copy link

Thanks @agileware-fj , could you please fix the linters.

[
$caseCategoryId,
$caseCategoryName,
] = CRM_Civicase_Helper_CaseUrl::getCategoryParamsFromUrl();
Copy link

Choose a reason for hiding this comment

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

@agileware-fj Putting this on one line fixed all the civilint errors for me (same error in another file, I'll comment there too).

[
$caseCategoryId,
$caseCategoryName,
] = CRM_Civicase_Helper_CaseUrl::getCategoryParamsFromUrl();
Copy link

Choose a reason for hiding this comment

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

Merge on one line to fix civilint errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix deprecated 'settings' in .ang.php files
3 participants