by john doe.
Thank you Tim,
I tried to overide the instance_delete method:
instance_delete function () {
global $ DB;
$ DB-> delete_records ('table_name', array ('id' => $ val));
return true;
}
I tested the query and it works. But when removing the block, the query is not executed, and no data is deleted.
Have you another idea?
Thank you again.