Prune Logs

Conversion for 3.3 - Prune Logs

Conversion for 3.3

by Le_Spirit » Wed Aug 19, 2020 9:34 pm

I incidentaly discovered that by editing ext -> forumhulp -> prunelogs -> config -> services.yml the extension is then valid in 3.3.1

Code: Select all

services:
    forumhulp.prunelogs.cron.task.core.prunelogs:
        class: forumhulp\prunelogs\cron\task\core\prunelogs
        arguments:
            - '@config'
            - '@user'
            - '@dbal.conn'
            - '@log'
        calls:
            - [set_name, [cron.task.core.prune_logs]]
        tags:
            - { name: cron.task }
    forumhulp.prunelogs.listener:
        class: forumhulp\prunelogs\event\listener
        arguments:
            - '@controller.helper'
        tags:
            - { name: event.listener }
Le_Spirit
Registered User
Posts: 3
Joined: Thu Sep 03, 2015 5:19 pm
Contact: