I prefer clear

This commit is contained in:
Graham Campbell 2016-05-25 20:26:58 +01:00
parent 9e3f07742b
commit ac65cc56bb
2 changed files with 3 additions and 3 deletions

View File

@ -346,7 +346,7 @@ EINCIDENT;
],
];
$this->settings->truncate();
$this->settings->clear();
foreach ($defaultSettings as $setting) {
$this->settings->set($setting['name'], $setting['value']);

View File

@ -91,11 +91,11 @@ class Repository
}
/**
* Truncate all settings.
* Clear all settings.
*
* @return void
*/
public function truncate()
public function clear()
{
$this->stale = true;