From: Matthias Schmidt Date: Wed, 6 Apr 2016 08:22:15 +0000 (+0200) Subject: Remove remnants of application landing pages X-Git-Tag: 3.0.0_Beta_1~1972 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e4f718069bc77416d3470dcaa376994365601e2;p=GitHub%2FWoltLab%2FWCF.git Remove remnants of application landing pages See a80873d5fe45732dd39a51a89f6f58a91656fc50 --- diff --git a/wcfsetup/install/files/lib/data/application/Application.class.php b/wcfsetup/install/files/lib/data/application/Application.class.php index fe9e91dec9..3d781e9aa9 100644 --- a/wcfsetup/install/files/lib/data/application/Application.class.php +++ b/wcfsetup/install/files/lib/data/application/Application.class.php @@ -24,7 +24,6 @@ use wcf\util\FileUtil; * @property-read string $domainPath * @property-read string $cookieDomain * @property-read string $cookiePath - * @property-read integer|null $landingPageID */ class Application extends DatabaseObject { /** diff --git a/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php b/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php index 2cd4b711ac..8323834499 100644 --- a/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php +++ b/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php @@ -102,16 +102,4 @@ class ApplicationAction extends AbstractDatabaseObjectAction { // reset application cache ApplicationCacheBuilder::getInstance()->reset(); } - - /** - * Sets landing pages for applications. - */ - public function setLandingPage() { - /** @var ApplicationEditor $applicationEditor */ - foreach ($this->objects as $applicationEditor) { - $applicationEditor->update([ - 'landingPageID' => $this->parameters['landingPages'][$applicationEditor->packageID] - ]); - } - } } diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 130ad586a5..97b531c554 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1630,7 +1630,6 @@ ALTER TABLE wcf1_acp_template ADD FOREIGN KEY (packageID) REFERENCES wcf1_packag ALTER TABLE wcf1_ad ADD FOREIGN KEY (objectTypeID) REFERENCES wcf1_object_type (objectTypeID) ON DELETE CASCADE; ALTER TABLE wcf1_application ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE; -ALTER TABLE wcf1_application ADD FOREIGN KEY (landingPageID) REFERENCES wcf1_page (pageID) ON DELETE SET NULL; ALTER TABLE wcf1_attachment ADD FOREIGN KEY (objectTypeID) REFERENCES wcf1_object_type (objectTypeID) ON DELETE CASCADE; ALTER TABLE wcf1_attachment ADD FOREIGN KEY (userID) REFERENCES wcf1_user (userID) ON DELETE SET NULL;