@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | { |
64 | 64 | if (!check_form_key('delete_content_type')) |
65 | 65 | { |
66 | - trigger_error($this->language->lang('FORM_INVALID') . adm_back_link($u_action)); |
|
66 | + trigger_error($this->language->lang('FORM_INVALID').adm_back_link($u_action)); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | $types_mapper = $this->cmapper_factory->create('types'); |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | $this->cache->destroy('_content_types'); |
78 | 78 | |
79 | 79 | meta_refresh(3, $u_action); |
80 | - trigger_error($this->language->lang('CONTENT_TYPE_DELETED') . adm_back_link($u_action)); |
|
80 | + trigger_error($this->language->lang('CONTENT_TYPE_DELETED').adm_back_link($u_action)); |
|
81 | 81 | |
82 | 82 | } |
83 | 83 |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param \blitze\sitemaker\services\forum\manager $forum_manager Forum manager object |
45 | 45 | * @param \blitze\content\model\mapper_factory $cmapper_factory Content Mapper factory object |
46 | 46 | * @param \blitze\sitemaker\model\mapper_factory $smapper_factory Sitemaker Mapper factory object |
47 | - */ |
|
47 | + */ |
|
48 | 48 | public function __construct(\phpbb\cache\driver\driver_interface $cache, \phpbb\language\language $language, \phpbb\request\request_interface $request, \blitze\content\services\types $content_types, \blitze\sitemaker\services\forum\manager $forum_manager, \blitze\content\model\mapper_factory $cmapper_factory, \blitze\sitemaker\model\mapper_factory $smapper_factory) |
49 | 49 | { |
50 | 50 | $this->cache = $cache; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * @param \phpbb\cache\driver\driver_interface $cache Cache object |
29 | 29 | * @param \blitze\content\services\types $content_types Content types object |
30 | 30 | * @param \blitze\content\model\mapper_factory $mapper_factory Mapper factory object |
31 | - */ |
|
31 | + */ |
|
32 | 32 | public function __construct(\phpbb\cache\driver\driver_interface $cache, \blitze\content\services\types $content_types, \blitze\content\model\mapper_factory $mapper_factory) |
33 | 33 | { |
34 | 34 | $this->cache = $cache; |