Replace typehint App with AppHelper in mod folder

This commit is contained in:
Art4 2024-11-10 23:37:46 +00:00
parent 14ec1950b9
commit 2a132718d0
4 changed files with 10 additions and 11 deletions

View file

@ -8,13 +8,12 @@
* AJAX synchronisation of notes page
*/
use Friendica\App;
use Friendica\AppHelper;
use Friendica\Core\System;
use Friendica\DI;
require_once 'mod/notes.php';
function update_notes_content(App $a)
function update_notes_content(AppHelper $appHelper)
{
$profile_uid = intval($_GET['p']);
@ -28,7 +27,7 @@ function update_notes_content(App $a)
*
*/
$text = notes_content($a, $profile_uid);
$text = notes_content($appHelper, $profile_uid);
System::htmlUpdateExit($text);
}