From de8302aafa1499e7f74ad99ec645cbe2afe28ccd Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Thu, 25 Feb 2016 17:08:06 -0800 Subject: [PATCH] Include the current Grav version when pinging GPM server --- system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php b/system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php index 96296599e..2895793a3 100644 --- a/system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php +++ b/system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php @@ -44,7 +44,7 @@ class AbstractPackageCollection extends BaseCollection $cache_dir = Grav::instance()['locator']->findResource('cache://gpm', true, true); $this->cache = new FilesystemCache($cache_dir); - $this->repository = $repository; + $this->repository = $repository . '?v=' . GRAV_VERSION; $this->raw = $this->cache->fetch(md5($this->repository)); $this->fetch($refresh, $callback);