Issue Details (XML | Word | Printable)

Key: MDL-18354
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Dongsheng Cai
Reporter: Martin Dougiamas
Votes: 0
Watchers: 0
Operations

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

Brand-new installation or upgrade from 1.9 should have "Local Files" and "Upload file" enabled

Created: 24/Feb/09 04:17 PM   Updated: 10/Mar/09 11:03 AM
Return to search
Component/s: Repository API
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Dongsheng Cai and Martin Dougiamas
Security Level: None
Difficulty: Easy
Resolved date: 10/Mar/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
All new 2.0 sites should have "Local Files" and "Upload file" enabled by default.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dongsheng Cai added a comment - 05/Mar/09 01:41 PM
Added.

Dongsheng Cai added a comment - 09/Mar/09 02:12 PM
Martin, is it necessary to add this function to admin/index.php to check these plugins?

Martin Dougiamas added a comment - 09/Mar/09 02:23 PM
No, I think it would be a small code block in /lib/db/upgrade.php (triggered by a version bump in /version.php)

Martin Dougiamas added a comment - 09/Mar/09 02:58 PM
And for new installs, you need to add a function in each plugins lib.php called pluginname_install that will install itself.

Dongsheng Cai added a comment - 09/Mar/09 05:55 PM
Seems message/output/jabber/lib.php (include email and popup) are not called by installation script, xmldb_message_email_install should be created at /message/output/jabber/db/install.php

Dongsheng Cai added a comment - 10/Mar/09 11:03 AM
local and upload plugins will be enabled automatically when upgraduing or brand-new installation.