rename activitypub event classes

This commit is contained in:
André Menrath 2024-01-18 15:27:16 +01:00
parent 27aff53371
commit 616c16e5ad
4 changed files with 6 additions and 27 deletions

View file

@ -1,21 +0,0 @@
name: Deploy to https://wordpress-test.event-federation.eu/
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
if: secrets.SSH_PRIVATE_KEY != ''
steps:
- name: Checkout Repository
uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://github.com/ilkka/git-https-push-action@master
name: Deploy
with:
remoteUrl: ${{ secrets.PUSH_REMOTE }}
skipHooks: false

View file

@ -8,8 +8,8 @@
use EM_Event; use EM_Event;
use Activitypub\Activity\Objects\Event; use Activitypub\Activity\Extended_Object\Event;
use Activitypub\Activity\Objects\Place; use Activitypub\Activity\Extended_Object\Place;
use Activitypub\Transformer\Post; use Activitypub\Transformer\Post;
use function Activitypub\esc_hashtag; use function Activitypub\esc_hashtag;

View file

@ -11,8 +11,8 @@ if ( ! defined( 'ABSPATH' ) ) {
} }
use Activitypub\Transformer\Post; use Activitypub\Transformer\Post;
use Activitypub\Activity\Event; use Activitypub\Activity\Extended_Object\Event;
use Activitypub\Activity\Place; use Activitypub\Activity\Extended_Object\Place;
/** /**
* ActivityPub Tribe Transformer * ActivityPub Tribe Transformer

View file

@ -6,10 +6,10 @@
* @license AGPL-3.0-or-later * @license AGPL-3.0-or-later
*/ */
use Activitypub\Activity\Objects\Event;
use Activitypub\Activity\Objects\Place;
use Activitypub\Transformer\Post; use Activitypub\Transformer\Post;
use Activitypub\Model\Blog_user; use Activitypub\Model\Blog_user;
use Activitypub\Activity\Extended_Object\Event;
use Activitypub\Activity\Extended_Object\Place;
use function Activitypub\get_rest_url_by_path; use function Activitypub\get_rest_url_by_path;