-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ModelAdmin): Workaround for silverstripe-recipe 4.3.0
- Primary takeaway: this allows a site to use multisites with silverstripe-recipe 4.3.0 - Silverstripe-recipe 4.3.0 introduced changes that broke the previous approach to retrieving the model class. - This will be fixed in silverstripe-recipe 4.3.1 (really silverstripe-admin 1.3.1). - Don't want to require a specific version of ss-admin as it will create composer conflicts. - This commit changes multisites to only work with ss-recipe >= 4.3.0 - When using ss-recipe 4.3.0: - An error will be thrown if you use the MultisitesAware extension. - Else MultisitesAware will be bypassed. - Will work with ss-recipe >= 4.3.1 (other potential issues aside).
- Loading branch information
jcarter
committed
Feb 11, 2019
1 parent
7b4c52e
commit 1d080da
Showing
2 changed files
with
74 additions
and
35 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