Skip to content

Commit

Permalink
Revert "Update to a single form for handling adding teams to resources"
Browse files Browse the repository at this point in the history
This reverts commit fae34bb.
  • Loading branch information
alexdryden committed Apr 28, 2023
1 parent 35937db commit e92c1a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2705,7 +2705,7 @@ public function attachListeners(SharedEventManagerInterface $sharedEventManager)
$sharedEventManager->attach(
'Omeka\Controller\Admin\Item',
'view.edit.form.after',
[$this, 'displayTeamFormNoID']
[$this, 'displayTeamForm']
);

$sharedEventManager->attach(
Expand All @@ -2726,7 +2726,7 @@ public function attachListeners(SharedEventManagerInterface $sharedEventManager)
$sharedEventManager->attach(
'Omeka\Controller\Admin\ItemSet',
'view.edit.form.after',
[$this, 'displayTeamFormNoID']
[$this, 'displayTeamForm']
);
$sharedEventManager->attach(
'Omeka\Controller\Admin\ItemSet',
Expand All @@ -2737,7 +2737,7 @@ public function attachListeners(SharedEventManagerInterface $sharedEventManager)
$sharedEventManager->attach(
'Omeka\Controller\Admin\Media',
'view.edit.form.after',
[$this, 'displayTeamFormNoID']
[$this, 'displayTeamForm']
);
$sharedEventManager->attach(
'Omeka\Controller\Admin\Media',
Expand Down

0 comments on commit e92c1a4

Please sign in to comment.