don't try to update all plugins
This commit is contained in:
parent
15f9cb708e
commit
85f411d688
|
@ -1191,7 +1191,10 @@ class Pref_Prefs extends Handler_Protected {
|
||||||
if (is_dir("$dir/.git")) {
|
if (is_dir("$dir/.git")) {
|
||||||
$plugin_name = basename($dir);
|
$plugin_name = basename($dir);
|
||||||
|
|
||||||
array_push($rv, ["plugin" => $plugin_name, "rv" => $this->_update_plugin($root_dir, $plugin_name)]);
|
$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>
|
</ul>
|
||||||
|
|
||||||
<footer class="text-center">
|
<footer class="text-center">
|
||||||
${App.FormFields.submit_tag(__("Close this window"))}
|
${App.FormFields.submit_tag(__("Reload preferences"))}
|
||||||
</footer>
|
</footer>
|
||||||
`,
|
`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue