fix merge conflicts.
This commit is contained in:
@@ -170,9 +170,7 @@ class Has_Many_And_Belongs_To extends Relationship {
|
||||
*/
|
||||
public function delete()
|
||||
{
|
||||
$id = $this->base->get_key();
|
||||
|
||||
return $this->joining_table()->where($this->foreign_key(), '=', $id)->delete();
|
||||
return $this->pivot()->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user