Skip to content

Commit 60ba0f1

Browse files
symfonyamlAkenRoberts
authored andcommitted
Remove unused $uow variable
1 parent 3b2552e commit 60ba0f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Gedmo/Sortable/SortableListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ public function postRemove(EventArgs $args)
158158
protected function processInsert(SortableAdapter $ea, array $config, $meta, $object)
159159
{
160160
$em = $ea->getObjectManager();
161-
$uow = $em->getUnitOfWork();
162161

163162
$old = $meta->getReflectionProperty($config['position'])->getValue($object);
164163
$newPosition = $meta->getReflectionProperty($config['position'])->getValue($object);

0 commit comments

Comments
 (0)