mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 01:49:05 +02:00
Removed unused variables.
This commit is contained in:
parent
3671c94844
commit
0fe83c7b3a
18 changed files with 14 additions and 29 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue