summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-26 13:03:10 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-26 13:03:10 +0000
commit75f243f55cdfab7b862a7777d59e34e39d0d910a (patch)
treede9e4993c3ea406a25f694883725e0598f7fe312 /modules/update
parentccdf82a50005301a3d13588463fad25228e5b6ff (diff)
downloadbrdo-75f243f55cdfab7b862a7777d59e34e39d0d910a.tar.gz
brdo-75f243f55cdfab7b862a7777d59e34e39d0d910a.tar.bz2
- Patch #614026 by JohnAlbin, dww: fxed update_manager_install_form() signature.
Diffstat (limited to 'modules/update')
-rw-r--r--modules/update/update.manager.inc16
1 files changed, 15 insertions, 1 deletions
diff --git a/modules/update/update.manager.inc b/modules/update/update.manager.inc
index bae37d704..9a5f6890d 100644
--- a/modules/update/update.manager.inc
+++ b/modules/update/update.manager.inc
@@ -438,7 +438,21 @@ function update_manager_confirm_update_form_submit($form, &$form_state) {
* @{
*/
-function update_manager_install_form(&$form_state) {
+/**
+ * Build the form for the update manager page to install new projects.
+ *
+ * This presents a place to enter a URL or upload an archive file to use to
+ * install a new module or theme.
+ *
+ * @param $form
+ * @param $form_state
+ * @param $context
+ * String representing the context from which we're trying to install, can
+ * be: 'module', 'theme' or 'report'.
+ * @return
+ * The form array for selecting which project to install.
+ */
+function update_manager_install_form($form, &$form_state, $context) {
$form = array();
// Collect all the supported archive file extensions for the UI text.