mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
Move Config::get() to DI::config()->get()
This commit is contained in:
parent
5d294e8be8
commit
6c36fd9e01
126 changed files with 581 additions and 596 deletions
|
@ -352,7 +352,7 @@
|
|||
|
||||
for (i = 0; i < images.length; i++) {
|
||||
// For small preview images we use a smaller attachment format.
|
||||
///@todo here we need to add a check for !Config::get('system', 'always_show_preview').
|
||||
///@todo here we need to add a check for !DI::config()->get('system', 'always_show_preview').
|
||||
if (images[i].width >= 500 && images[i].width >= images[i].height) {
|
||||
imageClass = 'attachment-image';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue