Skip to content

Commit

Permalink
Merge pull request #268 from lsst-epo/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ericdrosas87 authored Jul 11, 2024
2 parents 3ee8fbb + 9a3f95d commit 1e686e5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions api/plugins/nextbuilds/src/NextBuilds.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@
use Craft;
use craft\base\Plugin;
use craft\elements\Entry;
use craft\events\ElementStructureEvent;
use craft\events\ModelEvent;
use craft\events\MoveElementEvent;
use craft\helpers\ElementHelper;
use craft\services\Plugins;
use craft\events\PluginEvent;
use castiron\nextbuilds\services\Request as NextRequestService;

use craft\services\Structures;
use yii\base\Event;

/**
Expand Down Expand Up @@ -143,9 +142,9 @@ function (Event $event) {
);

Event::on(
Structures::class,
Structures::EVENT_AFTER_INSERT_ELEMENT,
function (MoveElementEvent $event) {
Entry::class,
Entry::EVENT_AFTER_MOVE_IN_STRUCTURE,
function (ElementStructureEvent $event) {
$entry = $event->sender;

if (
Expand Down

0 comments on commit 1e686e5

Please sign in to comment.