Skip to content

Commit

Permalink
feat: Link documents to form
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienClairembault authored and btry committed Mar 6, 2023
1 parent 89bba81 commit 690f58d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ public function defineTabs($options = []) {
$this->addStandardTab(self::class, $ong, $options);
$this->addStandardTab(PluginFormcreatorFormAnswer::class, $ong, $options);
$this->addStandardTab(PluginFormcreatorForm_Language::class, $ong, $options);
$this->addStandardTab(Document_Item::class, $ong, $options);
$this->addStandardTab(Log::class, $ong, $options);
return $ong;
}
Expand Down
1 change: 1 addition & 0 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ function plugin_init_formcreator() {

array_push($CFG_GLPI["ticket_types"], PluginFormcreatorFormAnswer::class);
array_push($CFG_GLPI["document_types"], PluginFormcreatorFormAnswer::class);
array_push($CFG_GLPI["document_types"], PluginFormcreatorForm::class);

$plugin = new Plugin();
if (!$plugin->isActivated('formcreator')) {
Expand Down

0 comments on commit 690f58d

Please sign in to comment.