mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
I prefer clear
This commit is contained in:
parent
9e3f07742b
commit
ac65cc56bb
@ -346,7 +346,7 @@ EINCIDENT;
|
||||
],
|
||||
];
|
||||
|
||||
$this->settings->truncate();
|
||||
$this->settings->clear();
|
||||
|
||||
foreach ($defaultSettings as $setting) {
|
||||
$this->settings->set($setting['name'], $setting['value']);
|
||||
|
@ -91,11 +91,11 @@ class Repository
|
||||
}
|
||||
|
||||
/**
|
||||
* Truncate all settings.
|
||||
* Clear all settings.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function truncate()
|
||||
public function clear()
|
||||
{
|
||||
$this->stale = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user