1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 20:24:08 +02:00

[ticket/13867] Enable/disable mechanism for new profile field types

Adds methods to enable, disable and purge profile field types to the
profilefields\manager class.  These methods are to be called from
extensions that add new profile field types on the enable, disable
and purge methods of the ext class.  If not done, any profile field
of a new type that is left after extension is disabled or removed will
break the forum in several places.

PHPBB3-13867
This commit is contained in:
javiexin
2015-05-28 22:25:06 +02:00
committed by mrgoldy
parent 3539f9372d
commit 78ea308608
2 changed files with 176 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ services:
profilefields.manager:
class: phpbb\profilefields\manager
arguments:
- '@service_container'
- '@auth'
- '@dbal.conn'
- '@dispatcher'