MDL-16438 dixed resource borking install - no code execution in lib.php files!
This commit is contained in:
@@ -14,4 +14,5 @@ function xmldb_resource_install() {
|
||||
update_log_display_entry('resource', 'update', 'resource', 'name');
|
||||
update_log_display_entry('resource', 'add', 'resource', 'name');
|
||||
|
||||
set_config("resource_hide_repository", "1");
|
||||
}
|
||||
|
||||
@@ -35,10 +35,6 @@ global $RESOURCE_WINDOW_OPTIONS; // must be global because it might be included
|
||||
$RESOURCE_WINDOW_OPTIONS = array('resizable', 'scrollbars', 'directories', 'location',
|
||||
'menubar', 'toolbar', 'status', 'width', 'height');
|
||||
|
||||
if (!isset($CFG->resource_hide_repository)) {
|
||||
set_config("resource_hide_repository", "1");
|
||||
}
|
||||
|
||||
/**
|
||||
* resource_base is the base class for resource types
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user