mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-14 17:26:10 +01:00
Fix for bad referenced to shouldLoadAdditionalFilesInBackground() #1145
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
# v1.5.0-rc.4
|
||||||
|
## 06/xx/2017
|
||||||
|
|
||||||
|
1. [](#bugfix)
|
||||||
|
* Fix for bad referenced to `shouldLoadAdditionalFilesInBackground()` [#1145](https://github.com/getgrav/grav-plugin-admin/pull/1145)
|
||||||
|
|
||||||
# v1.5.0-rc.3
|
# v1.5.0-rc.3
|
||||||
## 06/22/2017
|
## 06/22/2017
|
||||||
|
|
||||||
|
|||||||
@@ -525,8 +525,8 @@ class AdminPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
if ($this->active) {
|
if ($this->active) {
|
||||||
//only activate when Admin is active
|
//only activate when Admin is active
|
||||||
if ($this->shouldLoadAdditionalFilesInBackground()) {
|
if ($this->admin->shouldLoadAdditionalFilesInBackground()) {
|
||||||
$this->loadAdditionalFilesInBackground();
|
$this->admin->loadAdditionalFilesInBackground();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//if popularity is enabled, track non-admin hits
|
//if popularity is enabled, track non-admin hits
|
||||||
|
|||||||
Reference in New Issue
Block a user