Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-37191 do not timeout when uninstalling plugins

  • Loading branch information...
commit 5c0dd1fadd6849f39c42dad7e89abcd335e3632c 1 parent 322af44
@skodak skodak authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/adminlib.php
View
3  lib/adminlib.php
@@ -123,6 +123,9 @@
function uninstall_plugin($type, $name) {
global $CFG, $DB, $OUTPUT;
+ // This may take a long time.
+ @set_time_limit(0);
+
// recursively uninstall all module/editor subplugins first
if ($type === 'mod' || $type === 'editor') {
$base = get_component_directory($type . '_' . $name);
Please sign in to comment.
Something went wrong with that request. Please try again.