diff --git a/module/VuFind/src/VuFind/Db/Row/User.php b/module/VuFind/src/VuFind/Db/Row/User.php index 5b2ddd8700a48650c2caecf75ccacf087fdf3de3..d73270b45af5233ffd16aa16eec96ad53ff152ee 100644 --- a/module/VuFind/src/VuFind/Db/Row/User.php +++ b/module/VuFind/src/VuFind/Db/Row/User.php @@ -436,7 +436,7 @@ class User extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterface, // Remove Resource (related tags are also removed implicitly) $userResourceTable = $this->getDbTable('UserResource'); // true here makes sure that only tags in lists are deleted - $userResourceTable->destroyResourceLinks($resourceIDs, $this->id, true); + $userResourceTable->destroyLinks($resourceIDs, $this->id, true); } /** diff --git a/module/VuFind/src/VuFind/Db/Row/UserList.php b/module/VuFind/src/VuFind/Db/Row/UserList.php index 8a3c8b29c92da7794a2af3273b83ee1a4901fa4d..57045e56569c94f4b283c138fb0f4388a016802e 100644 --- a/module/VuFind/src/VuFind/Db/Row/UserList.php +++ b/module/VuFind/src/VuFind/Db/Row/UserList.php @@ -259,7 +259,7 @@ class UserList extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterf // Remove Resource (related tags are also removed implicitly) $userResourceTable = $this->getDbTable('UserResource'); - $userResourceTable->destroyResourceLinks( + $userResourceTable->destroyLinks( $resourceIDs, $this->user_id, $this->id ); }