Get rid of duplicate function call.

This commit is contained in:
Franz Liedke 2012-10-17 18:28:42 +03:00
parent a6c681db39
commit 2d052a3222
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public function sync($ids)
if (count($detach) > 0)
{
$this->detach(array_diff($current, $ids));
$this->detach($detach);
}
}