diff --git a/module/VuFind/src/VuFind/Db/Row/User.php b/module/VuFind/src/VuFind/Db/Row/User.php index 69dda547eaf494c566f6c72d26ccd14c5ef73175..4d8cefe910352e3d85871d5c8457ae9a9d7be501 100644 --- a/module/VuFind/src/VuFind/Db/Row/User.php +++ b/module/VuFind/src/VuFind/Db/Row/User.php @@ -610,6 +610,8 @@ class User extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterface, $list = $table->getExisting($current->id); $list->delete($this, true); } + $resourceTags = $this->getDbTable('ResourceTags'); + $resourceTags->destroyLinks(null, $this->id); // Remove the user itself: return parent::delete();