Commit 2782e876 authored by mathieu.pionier's avatar mathieu.pionier
Browse files

FIX #18863 TIME 0:05 fix forgotten things

parent 968df73e
......@@ -16,7 +16,6 @@ namespace Entity\controllers;
use Basket\models\GroupBasketRedirectModel;
use Contact\models\ContactGroupListModel;
use Contact\models\ContactModel;
use Entity\models\EntityModel;
use Entity\models\ListInstanceModel;
use Entity\models\ListTemplateItemModel;
......@@ -534,7 +533,6 @@ class EntityController
]);
//ResourceContact
ResourceContactModel::update(['set' => ['item_id' => $successorEntity['id']], 'where' => ['item_id = ?', 'type = ?'], 'data' => [$dyingEntity['id'], 'entity']]);
// 'where' => ['item_id = ?', 'item_type = ?'], 'data' => [$dyingEntity['id'], 'entity_id'
EntityModel::delete(['where' => ['entity_id = ?'], 'data' => [$aArgs['id']]]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment