Clear cache when installing plugins

This commit is contained in:
Matias Griese
2021-10-26 20:42:35 +03:00
parent 87ac8fb0cd
commit 177ff7c929
2 changed files with 6 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
* Use new `Http\Response` rather than deprecated `GPM\Response`
3. [](#bugfix)
* Fixed an issue with invalid HTML throwing errors on HTML security scanning
* Clear cache when installing plugins
# v1.10.23
## 09/29/2021

View File

@@ -118,6 +118,8 @@ class Gpm
}
}
Cache::clearCache();
return $messages ?: true;
}
@@ -190,6 +192,8 @@ class Gpm
}
}
Cache::clearCache();
return true;
}
@@ -277,6 +281,7 @@ class Gpm
}
Folder::delete($tmp_zip);
Cache::clearCache();
return true;
}