New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use zf2 config for setup config #80
Conversation
besides dual usage (via object and array), the Setup::save takes only keys you want to modify, no need for Setup::load and if you modify the retrieved setup, the in-memory version is modified too. using zf2 lts version (2.4)
$reload option is gone, as any modification made to returned object is present in further setup.load calls
that method does not modify actual config!
used to do db part too, but realized that then upgrade tool will fail..
use zf2 config for setup config
Looks good! |
it's more logical the way it behaves now
damn, you were quick to merge this time! i planned to note when PR is ready for merge adding @balsdorf note. i forgot to check version compatibility of this. |
looks like composer.json specifies 5.3, but not all files pass syntax lint used in release process:
|
Sorry about that, last PR's I took too long on so I tried to go through |
i will just remove the conflicting files, we don't use them anyway |
custom workflow or custom fields may use Setup::load methods
also Workflow config access part is not tested. |
* remotes/upstream/master: (258 commits) add getProjectId method add getFrom, add test to get header value for from/to/cc add deleteMessage method to ImapMessage class move imap related addons to ImapMessage class move Mail classes to mail subdir add back Setup::load wrapper. eventum#80 strip config/include from composer cleanup zend stuff rm traits which prevent packaging to work fix location of mkdirs changelog update include config subdirs in release package rename Setup::load to Setup::get. eventum#80 forgot important save() method migrate smtp.auth bool setting move various config migrations to single upgrade patch getListing $get_reporters parameter was removed in 05ecdaa rss: use existing method to retrieve tool caption fix weird assign of array setup.load: discard reload option ...
besides dual usage (via object and array),
the Setup::save takes only keys you want to modify, no need for Setup::load
and if you modify the retrieved setup, the in-memory version is modified too.
using zf2 lts version (2.4)