[ticket/12123] Add soft delete to phpbb/permissions.php.

PHPBB3-12123
Merge remote-tracking branch 'prototech/ticket/12123' into develop
Merge pull request #1959 from prototech/ticket/12131

[ticket/12131] Remove invalid imageset var in viewtopic print view.

* prototech/ticket/12131:
  [ticket/12131] Remove invalid imageset var in viewtopic print view.