jenkins-bot has submitted this change and it was merged.

Change subject: Added new 'sfFormPrinterSetup' hook
......................................................................


Added new 'sfFormPrinterSetup' hook

Change-Id: I01d42611e8b2ffa2b1fe450d28d167b0dffe7584
---
M includes/SF_FormPrinter.php
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Yaron Koren: Checked; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/SF_FormPrinter.php b/includes/SF_FormPrinter.php
index 8e97e51..8804da6 100644
--- a/includes/SF_FormPrinter.php
+++ b/includes/SF_FormPrinter.php
@@ -47,6 +47,9 @@
                $this->registerInputType( 'SFComboBoxInput' );
                $this->registerInputType( 'SFCategoryInput' );
                $this->registerInputType( 'SFCategoriesInput' );
+
+               // All-purpose setup hook.
+               wfRunHooks( 'sfFormPrinterSetup', array( $this ) );
        }
 
        public function setSemanticTypeHook( $type, $is_list, $function_name, 
$default_args ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/98536
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I01d42611e8b2ffa2b1fe450d28d167b0dffe7584
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to