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

CiviCase - Make static function allActivityTypes() static #15839

Merged
merged 1 commit into from
Nov 14, 2019

Conversation

demeritcowboy
Copy link
Contributor

@demeritcowboy demeritcowboy commented Nov 13, 2019

Overview

Wondering why this isn't static. It's coming up as an error for me.

Technical Details

Function only deals with static variables and is even called from CRM/Case/XMLProcessor/Report.php as static (except that line currently never executes but that's because of a separate problem I was in the middle of when this came up).

@civibot
Copy link

civibot bot commented Nov 13, 2019

(Standard links)

@civibot civibot bot added the master label Nov 13, 2019
@demeritcowboy demeritcowboy changed the title [WIP] make static function static Make static function static Nov 13, 2019
@totten totten changed the title Make static function static XmlProcessor::allActivityTypes - Make static function static Nov 13, 2019
@totten totten changed the title XmlProcessor::allActivityTypes - Make static function static CiviCase - Make static function allActivityTypes() static Nov 13, 2019
@colemanw colemanw merged commit 5c865f2 into civicrm:master Nov 14, 2019
@demeritcowboy demeritcowboy deleted the should-it-be-static branch November 14, 2019 02:55
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.

2 participants