[Frage] Extbase: remove($rooms) does not delete from repository.

  • Meghna Meghna
    Typ im Roten Hemd
    0 x
    3 Beiträge
    0 Hilfreiche Beiträge
    18. 01. 2019, 21:56

    Hi Experts,

    This is my code:

    Controller:

    $roomsAccepted = $this->roomsRepository->findByIdAccepted($roomIDRejected);
    foreach ($roomsAccepted as $rooms) {
    $this->roomsRepository->remove($rooms);
    }

    remove($room) does not delete the record from the database. Could someone guide me through this, how to get this data deleted from MySQL.

    Sincere regards,
    Meghna Anand

    Tags: Extbase

  • 1
  • 1