mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-03 20:05:53 +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`
|
* Use new `Http\Response` rather than deprecated `GPM\Response`
|
||||||
3. [](#bugfix)
|
3. [](#bugfix)
|
||||||
* Fixed an issue with invalid HTML throwing errors on HTML security scanning
|
* Fixed an issue with invalid HTML throwing errors on HTML security scanning
|
||||||
|
* Clear cache when installing plugins
|
||||||
|
|
||||||
# v1.10.23
|
# v1.10.23
|
||||||
## 09/29/2021
|
## 09/29/2021
|
||||||
|
|||||||
@@ -118,6 +118,8 @@ class Gpm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Cache::clearCache();
|
||||||
|
|
||||||
return $messages ?: true;
|
return $messages ?: true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,6 +192,8 @@ class Gpm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Cache::clearCache();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -277,6 +281,7 @@ class Gpm
|
|||||||
}
|
}
|
||||||
|
|
||||||
Folder::delete($tmp_zip);
|
Folder::delete($tmp_zip);
|
||||||
|
Cache::clearCache();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user