From 696572f2c13ffb5ba9f9f8214e800ddcf3858271 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 2 Jan 2013 18:48:27 +0100 Subject: [PATCH] Fixed landing page after package (un-)installation Fixes #1070 --- .../plugin/PageMenuPackageInstallationPlugin.class.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php index a9ee513d85..a78b77ff6d 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php @@ -1,12 +1,13 @@ * @package com.woltlab.wcf * @subpackage system.package.plugin @@ -42,4 +43,11 @@ class PageMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationP return $result; } + + /** + * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::cleanup() + */ + protected function cleanup() { + PageMenuItemEditor::updateLandingPage(); + } } -- 2.20.1