mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Move Config::set() to DI::config()->set()
This commit is contained in:
parent
6c36fd9e01
commit
3411ced833
29 changed files with 213 additions and 229 deletions
|
@ -21,11 +21,11 @@ class DBATest extends DatabaseTest
|
|||
DI::init($dice);
|
||||
|
||||
// Default config
|
||||
Config::set('config', 'hostname', 'localhost');
|
||||
Config::set('system', 'throttle_limit_day', 100);
|
||||
Config::set('system', 'throttle_limit_week', 100);
|
||||
Config::set('system', 'throttle_limit_month', 100);
|
||||
Config::set('system', 'theme', 'system_theme');
|
||||
DI::config()->set('config', 'hostname', 'localhost');
|
||||
DI::config()->set('system', 'throttle_limit_day', 100);
|
||||
DI::config()->set('system', 'throttle_limit_week', 100);
|
||||
DI::config()->set('system', 'throttle_limit_month', 100);
|
||||
DI::config()->set('system', 'theme', 'system_theme');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue