mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 16:11:21 +02:00
[ticket/17363] Remove and fix leftover code
PHPBB-17363 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user