Permalink
Browse files

MDL-37191 do not timeout when uninstalling plugins

  • Loading branch information...
skodak committed Dec 21, 2012
1 parent 4a76321 commit 8cc55f3058b455f8d86cc0d5d8674e11124f5193
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/adminlib.php
View
@@ -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 subplugins first
if ($type === 'mod') {
if (file_exists("$CFG->dirroot/mod/$name/db/subplugins.php")) {

0 comments on commit 8cc55f3

Please sign in to comment.