Fix bug in removing entries by ID (wrong ID column name)

This commit is contained in:
Joshua Ramon Enslin 2021-12-09 00:08:56 +01:00
parent 55b2b61ef7
commit 5dc2ef0862
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
4 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ final class NodaPersinstFulltextSyncManticore {
public static function removeById(MDMysqli $mysqli_manticore, string $databasename, int $id):void {
$mysqli_manticore->do_update_query_large("DELETE FROM `" . $databasename . "_persinst`
WHERE `persinst_id` = " . $id);
WHERE `entry_id` = " . $id);
}

View File

@ -77,7 +77,7 @@ final class NodaPlaceFulltextSyncManticore {
public static function removeById(MDMysqli $mysqli_manticore, string $databasename, int $id):void {
$mysqli_manticore->do_update_query_large("DELETE FROM `" . $databasename . "_orte`
WHERE `ort_id` = " . $id);
WHERE `entry_id` = " . $id);
}

View File

@ -77,7 +77,7 @@ final class NodaTagFulltextSyncManticore {
public static function removeById(MDMysqli $mysqli_manticore, string $databasename, int $id):void {
$mysqli_manticore->do_update_query_large("DELETE FROM `" . $databasename . "_tag`
WHERE `tag_id` = " . $id);
WHERE `entry_id` = " . $id);
}

View File

@ -75,7 +75,7 @@ final class NodaTimeFulltextSyncManticore {
public static function removeById(MDMysqli $mysqli_manticore, string $databasename, int $id):void {
$mysqli_manticore->do_update_query_large("DELETE FROM `" . $databasename . "_zeiten`
WHERE `zeit_id` = " . $id);
WHERE `entry_id` = " . $id);
}