Issue Details (XML | Word | Printable)

Key: MDL-16438
Type: Bug Bug
Status: Reopened Reopened
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: Penny Leach
Votes: 1
Watchers: 9
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

centralise information about plugins to avoid duplication

Created: 10/Sep/08 06:44 PM   Updated: 01/Sep/09 04:13 AM
Return to search
Component/s: General
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File plugins_cleanup9.patch (103 kB)

Issue Links:
Dependency
Relates

Participants: Anthony Borrow, Dan Poltawski, David Mudrak, Eloy Lafuente (stronk7), Nicolas Connault, Penny Leach, Petr Skoda and Tim Hunt
Security Level: None
Resolved date: 19/Jun/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE

Sub-Tasks  All   Open   
 Sub-Task Progress: 
No sub-tasks match this view.

 Description  « Hide
From a conversation in jabber and following on from MDL-16392

It would be good to have an array somewhere containing all information about plugins, where their db directories are etc. At the moment get_db_directories seems to contain most of this information but there are other places in moodle that duplicate this (the example was events_load_def).

If we could maintain *one* array containing this information and then a few helper functions around it we could potentially:

a) remove a lot of duplication
b) make it easier to add new plugin 'types' later without having to add db location information in muliple places

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Penny Leach made changes - 10/Sep/08 06:45 PM
Field Original Value New Value
Link This issue will help resolve MDL-16392 [ MDL-16392 ]
Tim Hunt made changes - 11/Sep/08 10:04 AM
Assignee Nobody [ nobody ] Tim Hunt [ timhunt ]
Tim Hunt made changes - 18/Sep/08 09:15 PM
Link This issue has a non-specific relationship to MDL-13816 [ MDL-13816 ]
Dan Poltawski made changes - 07/Jan/09 10:45 PM
Link This issue will help resolve MDL-16487 [ MDL-16487 ]
Eloy Lafuente (stronk7) made changes - 16/Jun/09 06:16 PM
Link This issue has a non-specific relationship to MDL-19346 [ MDL-19346 ]
Tim Hunt made changes - 16/Jun/09 10:45 PM
Assignee Tim Hunt [ timhunt ] Petr Skoda [ skodak ]
Petr Skoda made changes - 17/Jun/09 02:54 PM
Attachment plugins_cleanup9.patch [ 17686 ]
Anthony Borrow made changes - 18/Jun/09 11:40 AM
Link This issue has been marked as being related by MDL-19550 [ MDL-19550 ]
Petr Skoda made changes - 19/Jun/09 10:28 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Nicolas Connault made changes - 25/Jun/09 09:11 AM
Status Resolved [ 5 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Anthony Borrow made changes - 29/Aug/09 02:57 PM
Link This issue has been marked as being related by MDL-20152 [ MDL-20152 ]
David Mudrak made changes - 31/Aug/09 11:19 PM
Link This issue will be resolved by MDL-20191 [ MDL-20191 ]