mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Removed unused variables.
This commit is contained in:
@@ -44,7 +44,8 @@ class DBElementRepository extends EntityRepository
|
||||
->setParameter(1, $element->getID())
|
||||
->getQuery();
|
||||
|
||||
$p = $q->execute();
|
||||
//Do the renaming
|
||||
$q->execute();
|
||||
|
||||
$this->setField($element, 'id', $new_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user