MDL-49329 admin: Convert install plugins tool to use new APIs
authorDavid Mudrák <david@moodle.com>
Thu, 8 Oct 2015 10:51:27 +0000 (12:51 +0200)
committerDavid Mudrák <david@moodle.com>
Fri, 9 Oct 2015 07:50:46 +0000 (09:50 +0200)
commit4fff948910e263f371c906195365c5a5cda389ae
treec4bd7649fcba55e6193c81ba3fe11911a8eeb1ed
parent2d00be61f168d5ffb99cba10cc47c30544cd9a2f
MDL-49329 admin: Convert install plugins tool to use new APIs

Most of the functionality provided by this tool (typically the
validation and actual deployment of the plugin package) has been moved
to the core level. So this is becoming just a thin wrapper and user
interface for installing new plugins via the administration UI.

Also fixes MDL-49600 as we no longer keep the unzipped contents of the
packages in the persistent temp directories.
12 files changed:
admin/tool/installaddon/classes/installer.php
admin/tool/installaddon/classes/installfromzip_form.php
admin/tool/installaddon/deploy.php [deleted file]
admin/tool/installaddon/index.php
admin/tool/installaddon/lang/en/tool_installaddon.php
admin/tool/installaddon/permcheck.php
admin/tool/installaddon/renderer.php
admin/tool/installaddon/settings.php
admin/tool/installaddon/styles.css
admin/tool/installaddon/tests/fixtures/testable_installer.php [new file with mode: 0644]
admin/tool/installaddon/tests/installer_test.php
admin/tool/installaddon/validate.php [deleted file]