mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 05:25:15 +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
|
@ -16,7 +16,6 @@
|
|||
* information.
|
||||
*/
|
||||
|
||||
use Friendica\AppHelper;
|
||||
use Friendica\Content\Conversation;
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Core\Hook;
|
||||
|
@ -330,7 +329,7 @@ function item_post_return($baseurl, $return_path)
|
|||
System::jsonExit($json);
|
||||
}
|
||||
|
||||
function item_content(AppHelper $appHelper)
|
||||
function item_content()
|
||||
{
|
||||
if (!DI::userSession()->isAuthenticated()) {
|
||||
throw new HTTPException\UnauthorizedException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue