I prefer clear
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user