don't try to update all plugins

master
Andrew Dolgov 4 years ago
parent 15f9cb708e
commit 85f411d688

@ -1191,6 +1191,9 @@ class Pref_Prefs extends Handler_Protected {
if (is_dir("$dir/.git")) {
$plugin_name = basename($dir);
$test = $this->_plugin_needs_update($root_dir, $plugin_name);
if (!empty($test["o"]))
array_push($rv, ["plugin" => $plugin_name, "rv" => $this->_update_plugin($root_dir, $plugin_name)]);
}
}

@ -339,7 +339,7 @@ const Helpers = {
</ul>
<footer class="text-center">
${App.FormFields.submit_tag(__("Close this window"))}
${App.FormFields.submit_tag(__("Reload preferences"))}
</footer>
`,
});

Loading…
Cancel
Save