Merge branch 'master' of w00d5t0ck.info:blueroses
This commit is contained in:
commit
de00a6ad21
@ -89,7 +89,7 @@ class GroupController extends Controller
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$membership = new UserGroupMembership();
|
$membership = new UserGroupMembership($user, $group);
|
||||||
$membership->setUser($user);
|
$membership->setUser($user);
|
||||||
$membership->setGroup($group);
|
$membership->setGroup($group);
|
||||||
$membership->setMembershipRequestedAt(new \DateTime('now'));
|
$membership->setMembershipRequestedAt(new \DateTime('now'));
|
||||||
|
@ -20,7 +20,6 @@ class UserGroupMembership
|
|||||||
$this->setUser($user);
|
$this->setUser($user);
|
||||||
$this->setGroup($group);
|
$this->setGroup($group);
|
||||||
$this->setMembershipRequestedAt(new \DateTime('now'));
|
$this->setMembershipRequestedAt(new \DateTime('now'));
|
||||||
$this->setMembershipAcceptedAt(new \DateTime('now'));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user