UtilsController::getAllowedBlocks() and UtilsController::getBlocksSettings() are identical

Created on 14 November 2021, over 2 years ago
Updated 17 November 2023, 7 months ago

Problem/Motivation

While working with the code I noticed, that we have two identical methods in the UtilsController.

both methods seem to be completely identical.

Steps to reproduce

Proposed resolution

Remove redundant UtilsController::getAllowedBlocks() and replace usages with the other method/variable or the other way around or vice versa.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

2.0

Component

Code

Created by

🇩🇪Germany szeidler Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024