]> source.dussan.org Git - nextcloud-server.git/commit
Extract interaction with config.php into SystemConfig
authorMorris Jobke <hey@morrisjobke.de>
Thu, 27 Nov 2014 15:40:12 +0000 (16:40 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 8 Dec 2014 21:29:42 +0000 (22:29 +0100)
commit50c2a819a0c5ae50571d36a3e2dec4e8267fd13b
treec6241e94b567618b9f6e7952f45a3aaa11250d49
parentf219f5a7a62fe88b364b9a5f50e9730eba1ee84c
Extract  interaction with config.php into SystemConfig

* introduce SystemConfig to avoid DI circle (used by database connection which is itself needed by AllConfig that itself contains the methods to access the config.php which then would need the database connection - did you get it? ;))
* use DI container and use that method in legacy code paths (for easier refactoring later)
* create and use getSystemConfig instead of query() in DI container
lib/private/allconfig.php
lib/private/db/connectionfactory.php
lib/private/server.php
lib/private/systemconfig.php [new file with mode: 0644]
lib/public/config.php
tests/lib/user/user.php