From: Tim Düsterhus Date: Fri, 27 Aug 2021 09:03:25 +0000 (+0200) Subject: Revert "Remove erroneous DatabasePackageInstallationPlugin::getDefaultFilename()" X-Git-Tag: 5.4.5_RC_1~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bdee77ed91d0c07663b07d3fd1f940d514ff21b7;p=GitHub%2FWoltLab%2FWCF.git Revert "Remove erroneous DatabasePackageInstallationPlugin::getDefaultFilename()" 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. --- 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 */