mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:17:17 +02:00
Replace typehint App with AppHelper in mod folder
This commit is contained in:
parent
14ec1950b9
commit
2a132718d0
4 changed files with 10 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue