public unlock ( |
||
$user | The User on whose behalf the lock unset | |
return |
public function unlock(User $user)
{
$this->_settings->saveSettings([FarmSetting::LOCK => '', FarmSetting::LOCK_BY => '', FarmSetting::LOCK_UNLOCK_BY => $user->id, FarmSetting::LOCK_COMMENT => '', FarmSetting::LOCK_RESTRICT => '']);
return $this;
}