Fix bug in removing entries by ID (wrong ID column name)
This commit is contained in:
parent
55b2b61ef7
commit
5dc2ef0862
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user