From fe6ecf48053694e410367387b3852e6e5b6803a1 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Fri, 23 Jun 2017 10:32:00 -0600 Subject: [PATCH] Fix for bad referenced to `shouldLoadAdditionalFilesInBackground()` #1145 --- CHANGELOG.md | 6 ++++++ admin.php | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de9ab469..57495318 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 ## 06/22/2017 diff --git a/admin.php b/admin.php index 1dd8969f..60634e8b 100644 --- a/admin.php +++ b/admin.php @@ -525,8 +525,8 @@ class AdminPlugin extends Plugin { if ($this->active) { //only activate when Admin is active - if ($this->shouldLoadAdditionalFilesInBackground()) { - $this->loadAdditionalFilesInBackground(); + if ($this->admin->shouldLoadAdditionalFilesInBackground()) { + $this->admin->loadAdditionalFilesInBackground(); } } else { //if popularity is enabled, track non-admin hits