From bdee77ed91d0c07663b07d3fd1f940d514ff21b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 Aug 2021 11:03:25 +0200 Subject: [PATCH] Revert "Remove erroneous DatabasePackageInstallationPlugin::getDefaultFilename()" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This had the unintended side-effect of no longer listing the database PIP within the “Sync” view of dev tools. This will need to be revisited (#4480). This reverts commit d5b180155d5805bda7e3132df2f4fde6627a49db. --- .../plugin/DatabasePackageInstallationPlugin.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wcfsetup/install/files/lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php index 61b2940cb0..30cdaf0a01 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php @@ -95,6 +95,14 @@ class DatabasePackageInstallationPlugin extends AbstractPackageInstallationPlugi // does nothing } + /** + * @inheritDoc + */ + public static function getDefaultFilename() + { + return static::SCRIPT_DIR . '*.php'; + } + /** * @inheritDoc */ -- 2.20.1