Revert "Remove erroneous DatabasePackageInstallationPlugin::getDefaultFilename()"
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Aug 2021 09:03:25 +0000 (11:03 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Aug 2021 09:04:16 +0000 (11:04 +0200)
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.

wcfsetup/install/files/lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php

index 61b2940cb04cd412740ded6840936afa623665eb..30cdaf0a01f46280af9a2ae8eefb7d6f1a0831e6 100644 (file)
@@ -95,6 +95,14 @@ class DatabasePackageInstallationPlugin extends AbstractPackageInstallationPlugi
         // does nothing
     }
 
+    /**
+     * @inheritDoc
+     */
+    public static function getDefaultFilename()
+    {
+        return static::SCRIPT_DIR . '*.php';
+    }
+
     /**
      * @inheritDoc
      */