mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:50:20 +00:00
Remove requirement for App class in legacy mods
This commit is contained in:
parent
7dbf1bb8bb
commit
76d25a27b4
6 changed files with 12 additions and 17 deletions
|
@ -8,12 +8,11 @@
|
|||
* AJAX synchronisation of notes page
|
||||
*/
|
||||
|
||||
use Friendica\AppHelper;
|
||||
use Friendica\Core\System;
|
||||
|
||||
require_once 'mod/notes.php';
|
||||
|
||||
function update_notes_content(AppHelper $appHelper)
|
||||
function update_notes_content()
|
||||
{
|
||||
$profile_uid = intval($_GET['p']);
|
||||
|
||||
|
@ -27,7 +26,7 @@ function update_notes_content(AppHelper $appHelper)
|
|||
*
|
||||
*/
|
||||
|
||||
$text = notes_content($appHelper, $profile_uid);
|
||||
$text = notes_content($profile_uid);
|
||||
|
||||
System::htmlUpdateExit($text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue