Fixes replacement of table prefixes
authorMatthias Schmidt <gravatronics@live.com>
Mon, 15 Apr 2013 18:39:41 +0000 (20:39 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 15 Apr 2013 18:39:41 +0000 (20:39 +0200)
commiteeae8f3b4370fc15edadb09b5a5705531274599e
tree084bcde43dedb14dc86968ef45eb09c5a60700ea
parent320f7ee01c2abbf55cc97f097278f201ac034af4
Fixes replacement of table prefixes

If a package, that is no application, requires an application (in WCF 1, this would have been a plugin), only the `wcf1_` prefix is replaced, thus altering existing application tables or creating new application tables isn't possible.

This commit now replaces app1_ with app{WCF_N}_ for all installed applications.
wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php