Remove unused & obsolete methods of the "View" class
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Aaron Wells |
Bug Description
The method View::find_
In its current form it's not very useful, and it's more or less redundant with artefact_
Likewise there are several other "orphan" methods in the View class, which it would be good to remove because:
1. The class is already huge, and removing unnecessary methods will make it easier for developers to find the useful methods in it.
2. These unused methods often contain bugs, because they're not updated when Mahara's internal data structures change.
I'm going to remove several of these unused methods, and refactor away a few single-use methods that don't provide any real API value.
summary: |
- Remove unused, obsolete method View::find_artefact_children() + Remove unused & obsolete methods of the "View" class |
description: | updated |
tags: | added: refactoring |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/6742