mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
adds setEula to support\settings
This commit is contained in:
parent
f04a4a3cf5
commit
20fa4c39f9
|
@ -121,6 +121,10 @@ class Settings
|
||||||
'ldap_basedn' => 'CN=Users,DC=ad,DC=example,Dc=com'
|
'ldap_basedn' => 'CN=Users,DC=ad,DC=example,Dc=com'
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
public function setEula($text = 'Default EULA text')
|
||||||
|
{
|
||||||
|
return $this->update(['default_eula_text' => $text]);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $attributes Attributes to modify in the application's settings.
|
* @param array $attributes Attributes to modify in the application's settings.
|
||||||
|
|
Loading…
Reference in a new issue