Revert changes on spider update script
authorCyperghost <olaf_schmitz_1@t-online.de>
Tue, 22 Oct 2024 09:29:36 +0000 (11:29 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Tue, 22 Oct 2024 09:29:36 +0000 (11:29 +0200)
wcfsetup/install/files/acp/update_com.woltlab.wcf_6.1_spider_step1.php

index 28958c96aafecfed3d19323b2896d0f085a4d154..cf916429987f799359d1f4bfd0ae5d736cebf1d4 100644 (file)
@@ -17,7 +17,7 @@ use wcf\system\database\table\PartialDatabaseTable;
 use wcf\system\WCF;
 
 $tableNames = WCF::getDB()->getEditor()->getTableNames();
-if (!\in_array('wcf1_spider', $tableNames)) {
+if (!\in_array('wcf' . WCF_N . '_spider', $tableNames)) {
     // The table `wcf1_spider` will be removed by a database PIP that is
     // executed after this script.
     return;