"MDL-19181, display plugin instances based on capabilities"
[moodle.git] / repository / upload / db / install.php
1 <?php
3 function xmldb_repository_upload_install() {
4     global $CFG;
5     $result = true;
6     require_once($CFG->dirroot.'/repository/lib.php');
7     $upload_plugin = new repository_type('upload', array(), true);
8     if (!$id = $upload_plugin->create(true)) {
9         $result = false;
10     }
11     return $result;
12 }