mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17363] Remove and fix leftover code
PHPBB-17363 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
parent
fe40b0d3a3
commit
e0cf35c588
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ class manifest
|
|||
*/
|
||||
public function handle(): JsonResponse
|
||||
{
|
||||
if ($this->user->data['is_bot'] || $this->user->data['user_type'] == USER_INACTIVE)
|
||||
if ($this->user->data['is_bot'])
|
||||
{
|
||||
throw new http_exception(Response::HTTP_FORBIDDEN, 'NO_AUTH_OPERATION');
|
||||
}
|
||||
|
@ -83,8 +83,8 @@ class manifest
|
|||
* Event to modify manifest data before it is outputted
|
||||
*
|
||||
* @event core.modify_manifest
|
||||
* @var array manifest Array of config values to display and process
|
||||
* @var string board_path Mode of the config page we are displaying
|
||||
* @var array manifest Array of manifest members
|
||||
* @var string board_path Path to the board root
|
||||
* @since 4.0.0-a1
|
||||
*/
|
||||
$vars = array('manifest', 'board_path');
|
||||
|
|
Loading…
Add table
Reference in a new issue