diff --git a/app/Console/Commands/DemoSeederCommand.php b/app/Console/Commands/DemoSeederCommand.php index 2ff20380..0f20c4dc 100644 --- a/app/Console/Commands/DemoSeederCommand.php +++ b/app/Console/Commands/DemoSeederCommand.php @@ -346,7 +346,7 @@ EINCIDENT; ], ]; - $this->settings->truncate(); + $this->settings->clear(); foreach ($defaultSettings as $setting) { $this->settings->set($setting['name'], $setting['value']); diff --git a/app/Settings/Repository.php b/app/Settings/Repository.php index f925f2b7..edd5103e 100644 --- a/app/Settings/Repository.php +++ b/app/Settings/Repository.php @@ -91,11 +91,11 @@ class Repository } /** - * Truncate all settings. + * Clear all settings. * * @return void */ - public function truncate() + public function clear() { $this->stale = true;