change from DI to this
This commit is contained in:
parent
a65c242a0c
commit
3915335fec
2 changed files with 4 additions and 5 deletions
|
@ -408,11 +408,9 @@ class Conversation
|
||||||
|
|
||||||
'$compose_link_title' => $this->l10n->t('Open Compose page'),
|
'$compose_link_title' => $this->l10n->t('Open Compose page'),
|
||||||
'$always_open_compose' => $this->pConfig->get($this->session->getLocalUserId(), 'frio', 'always_open_compose', false),
|
'$always_open_compose' => $this->pConfig->get($this->session->getLocalUserId(), 'frio', 'always_open_compose', false),
|
||||||
|
|
||||||
// Dropzone
|
// Dropzone
|
||||||
//'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
|
'$max_imagesize' => $this->config->get('system', 'maximagesize')
|
||||||
// DI::config.. does not work here, so it is set to a manual value
|
|
||||||
'$max_imagesize' => 600000,
|
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -184,7 +184,8 @@ class Edit extends BaseModule
|
||||||
'$compose_link_title' => $this->t('Open Compose page'),
|
'$compose_link_title' => $this->t('Open Compose page'),
|
||||||
// Dropzone
|
// Dropzone
|
||||||
//'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
|
//'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
|
||||||
// DI::config.. does not work here, so it is set to a manual value
|
//'$max_imagesize' => $this->config->get('system', 'maximagesize'),
|
||||||
|
// both is not workin here, so it is set to a manual value
|
||||||
'$max_imagesize' => 500000,
|
'$max_imagesize' => 500000,
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue