@@ -73,7 +73,7 @@ |
||
73 | 73 | } |
74 | 74 | else |
75 | 75 | { |
76 | - $message = $this->language->lang('INVALID_REQUEST', $action); |
|
76 | + $message = $this->language->lang('INVALID_REQUEST', $action); |
|
77 | 77 | trigger_error($message . '<br /><br />' . $this->language->lang('RETURN_PAGE', '<a href="' . $u_action . '">', '</a>')); |
78 | 78 | } |
79 | 79 | } |
@@ -206,7 +206,7 @@ |
||
206 | 206 | */ |
207 | 207 | protected function init_ucp_mode(array $content_types, array &$sql_where_array) |
208 | 208 | { |
209 | - $sql_where_array[] = 't.topic_poster = ' . (int) $this->user->data['user_id']; |
|
209 | + $sql_where_array[] = 't.topic_poster = ' . (int) $this->user->data['user_id']; |
|
210 | 210 | |
211 | 211 | // list all content types that the user can post in |
212 | 212 | $postable_forums = array_intersect_key($this->content_forums, $this->auth->acl_getf('f_post', true)); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @param \phpbb\language\language $language Language object |
24 | 24 | * @param \blitze\content\services\action_handler $action_handler Handles actions |
25 | - */ |
|
25 | + */ |
|
26 | 26 | public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler) |
27 | 27 | { |
28 | 28 | $this->language = $language; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @param \phpbb\language\language $language Language object |
24 | 24 | * @param \blitze\content\services\action_handler $action_handler Handles actions |
25 | - */ |
|
25 | + */ |
|
26 | 26 | public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler) |
27 | 27 | { |
28 | 28 | $this->language = $language; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @param \phpbb\language\language $language Language object |
24 | 24 | * @param \blitze\content\services\action_handler $action_handler Handles actions |
25 | - */ |
|
25 | + */ |
|
26 | 26 | public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler) |
27 | 27 | { |
28 | 28 | $this->language = $language; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * @param \phpbb\language\language $language Language Object |
29 | 29 | * @param \phpbb\template\template $template Template object |
30 | 30 | * @param \blitze\content\services\types $content_types Content types object |
31 | - */ |
|
31 | + */ |
|
32 | 32 | public function __construct(\phpbb\language\language $language, \phpbb\template\template $template, \blitze\content\services\types $content_types) |
33 | 33 | { |
34 | 34 | $this->language = $language; |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * @param \blitze\content\services\types $content_types Content types object |
31 | 31 | * @param \blitze\content\model\mapper_factory $mapper_factory Mapper factory object |
32 | 32 | * @param boolean $redirect Used for testing |
33 | - */ |
|
33 | + */ |
|
34 | 34 | public function __construct(\phpbb\cache\driver\driver_interface $cache, \blitze\content\services\types $content_types, \blitze\content\model\mapper_factory $mapper_factory, $redirect = true) |
35 | 35 | { |
36 | 36 | $this->cache = $cache; |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
45 | 45 | * @param string $relative_admin_path Relative admin root path |
46 | 46 | * @param string $php_ext php file extension |
47 | - */ |
|
47 | + */ |
|
48 | 48 | public function __construct(\phpbb\controller\helper $controller_helper, \phpbb\language\language $language, \phpbb\template\template $template, \blitze\content\services\types $content_types, $phpbb_root_path, $relative_admin_path, $php_ext) |
49 | 49 | { |
50 | 50 | $this->controller_helper = $controller_helper; |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @param \phpbb\user $user User object |
35 | 35 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
36 | 36 | * @param string $php_ext php file extension |
37 | - */ |
|
37 | + */ |
|
38 | 38 | public function __construct(\phpbb\auth\auth $auth, \phpbb\template\template $template, \phpbb\user $user, $phpbb_root_path, $php_ext) |
39 | 39 | { |
40 | 40 | $this->auth = $auth; |
@@ -124,7 +124,7 @@ |
||
124 | 124 | */ |
125 | 125 | protected function allow_topic_delete(array $topic_data) |
126 | 126 | { |
127 | - return ($this->auth->acl_get('m_delete', $topic_data['forum_id'])) || (($topic_data['topic_visibility'] != ITEM_DELETED) && $this->auth->acl_get('m_softdelete', $topic_data['forum_id'])); |
|
127 | + return ($this->auth->acl_get('m_delete', $topic_data['forum_id'])) || (($topic_data['topic_visibility'] != ITEM_DELETED) && $this->auth->acl_get('m_softdelete', $topic_data['forum_id'])); |
|
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |