mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 11:26:04 +01:00
Clear cache when installing plugins
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user