nextcloud / nextcloud/cookbook

Remove unused code and deprecated methods

Open
#302 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Backend enhancement maintenance php
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Is your feature request related to a problem? Please describe.
There is a unused controller as far as I can tell. I am not sure, if I got that right but there is at least a wrong import in that file.
In the services there are some deprecated methods.

Describe the solution you'd like
All this old stuff should be removed especially if not needed or even supported any longer.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with lib/Controller/SettingsController.php and inspect the services for the deprecated methods mentioned in the issue. Verify whether the controller and methods are still used before removing them; done means unused code and unsupported deprecated methods are gone without breaking existing references.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.