-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass values into DedupeRule->sql() rather than hybrid object
It doesn't really make sense for this query calculation function to be on a different class I kinda get what they were thinking but the way our BAOs are half a collection of static functions but occassionally get serious about being an object but then like extra properties set without explanation does us no favours. In this case it would be most sane if all the query calculation was on the same class (probably a new one but for now just looking at one of the existing ones). To do that we need to get clearer about the input the sql() function needs - this switches it most of the way to being static-ready & move-ready by passing in the values as arrays rather than setting them as properties
- Loading branch information
1 parent
9f58bc7
commit 39e34b7
Showing
2 changed files
with
52 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters