Skip to content
Snippets Groups Projects
Commit 5407f907 authored by JediKev's avatar JediKev
Browse files

issue: PHP 7.2 Plugin Delete

This addresses issue 4718 where deleting a plugin using PHP 7.2 throws an
error. This is due to errors not being passed to uninstall which causes the
"Too Few Arguments" error.
parent eebef639
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ if($_POST) {
case 'delete':
foreach ($_POST['ids'] as $id) {
if ($p = Plugin::lookup($id)) {
$p->uninstall();
$p->uninstall($errors);
}
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment