mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:58:07 +02: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
|
@ -9,14 +9,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
use Friendica\AppHelper;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Post;
|
||||
use Friendica\Model\Contact;
|
||||
|
||||
function update_contact_content(AppHelper $appHelper)
|
||||
function update_contact_content()
|
||||
{
|
||||
if (!empty(DI::args()->get(1)) && !empty($_GET['force'])) {
|
||||
$contact = DBA::selectFirst('account-user-view', ['pid', 'deleted'], ['id' => DI::args()->get(1)]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue