From: Matthias Schmidt Date: Sat, 30 Jun 2018 08:59:23 +0000 (+0200) Subject: Call `postImport` after saving PIP entry via GUI X-Git-Tag: 5.2.0_Alpha_1~708 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=419040ec85dbf506e27766da110996ad30396b9d;p=GitHub%2FWoltLab%2FWCF.git Call `postImport` after saving PIP entry via GUI See #2545 --- diff --git a/wcfsetup/install/files/lib/system/devtools/pip/TXmlGuiPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/devtools/pip/TXmlGuiPackageInstallationPlugin.class.php index 4af4710271..6ef09a2e2b 100644 --- a/wcfsetup/install/files/lib/system/devtools/pip/TXmlGuiPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/devtools/pip/TXmlGuiPackageInstallationPlugin.class.php @@ -291,6 +291,8 @@ XML; $itemEditor->update($newElementData); } + $this->postImport(); + if (is_subclass_of($this->className, IEditableCachedObject::class)) { call_user_func([$this->className, 'resetCache']); }