mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:10:13 +00:00
Renamed hook
This commit is contained in:
parent
e84a7e8c2a
commit
0840086a0a
3 changed files with 12 additions and 4 deletions
|
@ -2036,7 +2036,7 @@ class Item
|
|||
'detected' => $languages,
|
||||
];
|
||||
|
||||
Hook::callAll('get_language', $data);
|
||||
Hook::callAll('detect_languages', $data);
|
||||
$languages = $data['detected'];
|
||||
|
||||
return $languages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue