Get rid of duplicate function call.
This commit is contained in:
parent
a6c681db39
commit
2d052a3222
|
|
@ -141,7 +141,7 @@ public function sync($ids)
|
||||||
|
|
||||||
if (count($detach) > 0)
|
if (count($detach) > 0)
|
||||||
{
|
{
|
||||||
$this->detach(array_diff($current, $ids));
|
$this->detach($detach);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue