1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 16:21:18 +02:00

fixed an issue where the mail provider would not be able to instantiate

This commit is contained in:
Daniel Klabbers
2017-11-01 17:01:50 +01:00
parent 1cc6deabec
commit ab42c3bc8b

View File

@@ -24,7 +24,7 @@ class DatabaseSettingsRepository implements SettingsRepositoryInterface
public function all() public function all()
{ {
return $this->database->table('settings')->pluck('value', 'key'); return $this->database->table('settings')->pluck('value', 'key')->all();
} }
public function get($key, $default = null) public function get($key, $default = null)