TEMA:

delete submissions / entries after xx Days 7 meses 1 día antes #275742

  • Avatar de elian Autor del tema
  • elian
  • Fuera de línea
  • Navegador Iniciado
  • Navegador Iniciado
  • Registered
  • Mensajes: 17
  • Gracias recibidas: 3
Hi Folks,

can anybody help me how to setup that all entries should be deleted automatically after xx Days?

Thanks for a hint, have not found such function in the latest Version.

Dennis

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

delete submissions / entries after xx Days 7 meses 1 día antes #275744

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 779
Hi,

please check this topic:
crosstec.org/en/forums/3-breezingforms-f....html?start=0#229381

If you want to delete it after some days (e.g. two weeks), change this part of code:
$db->setQuery("Select id From #__facileforms_records Where submitted < DATE_SUB(NOW(), INTERVAL 1 YEAR)");
with:
$db->setQuery("Select id From #__facileforms_records Where submitted < DATE_SUB(NOW(), INTERVAL 14 DAY)");

Regards,
Tihana

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Página:
  • 1
Moderadores: ForumSupport
Tiempo de carga de la página: 0.049 segundos

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!