의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Use correct DBA method in mod/settings
This commit is contained in:
부모
1322999fc2
커밋
2efd4a7eb7
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
|
@ -504,7 +504,7 @@ function settings_content(App $a)
|
|||
if (($a->argc > 1) && ($a->argv[1] === 'addon')) {
|
||||
$addon_settings_forms = [];
|
||||
|
||||
foreach (DI::dba()->select('hook', ['file', 'function'], ['hook' => 'addon_settings']) as $hook) {
|
||||
foreach (DI::dba()->selectToArray('hook', ['file', 'function'], ['hook' => 'addon_settings']) as $hook) {
|
||||
$data = '';
|
||||
Hook::callSingle(DI::app(), 'addon_settings', [$hook['file'], $hook['function']], $data);
|
||||
$addon_settings_forms[] = $data;
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue