Moodle

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

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Repositories
  • Labels:
    None
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

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

Activity

Hide
Dongsheng Cai added a comment -

Added.

Show
Dongsheng Cai added a comment - Added.
Hide
Dongsheng Cai added a comment -

Martin, is it necessary to add this function to admin/index.php to check these plugins?

Show
Dongsheng Cai added a comment - Martin, is it necessary to add this function to admin/index.php to check these plugins?
Hide
Martin Dougiamas added a comment -

No, I think it would be a small code block in /lib/db/upgrade.php (triggered by a version bump in /version.php)

Show
Martin Dougiamas added a comment - No, I think it would be a small code block in /lib/db/upgrade.php (triggered by a version bump in /version.php)
Hide
Martin Dougiamas added a comment -

And for new installs, you need to add a function in each plugins lib.php called pluginname_install that will install itself.

Show
Martin Dougiamas added a comment - And for new installs, you need to add a function in each plugins lib.php called pluginname_install that will install itself.
Hide
Dongsheng Cai added a comment -

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

Show
Dongsheng Cai added a comment - 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
Hide
Dongsheng Cai added a comment -

local and upload plugins will be enabled automatically when upgraduing or brand-new installation.

Show
Dongsheng Cai added a comment - local and upload plugins will be enabled automatically when upgraduing or brand-new installation.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: