Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix base event notification #487

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion notifications/EventUpdated.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
namespace humhub\modules\calendar\notifications;

use humhub\libs\Html;
use humhub\modules\calendar\notifications\base\EventNotification;
use humhub\modules\space\models\Space;
use Yii;

Expand All @@ -18,7 +19,7 @@
* Date: 21.07.2017
* Time: 23:12
*/
class EventUpdated extends BaseEventNotification
class EventUpdated extends EventNotification
{
/**
* @inheritdoc
Expand Down
3 changes: 2 additions & 1 deletion notifications/MarkAttend.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
namespace humhub\modules\calendar\notifications;

use humhub\libs\Html;
use humhub\modules\calendar\notifications\base\EventNotification;
use humhub\modules\space\models\Space;
use Yii;

class MarkAttend extends BaseEventNotification
class MarkAttend extends EventNotification
{
public ?int $participationStatus = null;

Expand Down
3 changes: 2 additions & 1 deletion notifications/ParticipantAdded.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@

use humhub\libs\Html;
use humhub\modules\calendar\interfaces\participation\CalendarEventParticipationIF;
use humhub\modules\calendar\notifications\base\EventNotification;
use Yii;

class ParticipantAdded extends BaseEventNotification
class ParticipantAdded extends EventNotification
{
public ?int $participationStatus = null;

Expand Down
3 changes: 2 additions & 1 deletion notifications/ReopenedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
namespace humhub\modules\calendar\notifications;

use humhub\libs\Html;
use humhub\modules\calendar\notifications\base\EventNotification;
use humhub\modules\space\models\Space;
use Yii;

Expand All @@ -18,7 +19,7 @@
* Date: 21.07.2017
* Time: 23:12
*/
class ReopenedEvent extends BaseEventNotification
class ReopenedEvent extends EventNotification
{
/**
* @inheritdoc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
* @license https://www.humhub.com/licences
*/

namespace humhub\modules\calendar\notifications;
namespace humhub\modules\calendar\notifications\base;

use humhub\modules\calendar\models\CalendarEntry;
use humhub\modules\calendar\notifications\CalendarNotificationCategory;
use humhub\modules\notification\components\BaseNotification;
use yii\mail\MessageInterface;

/* @property CalendarEntry $source */
abstract class BaseEventNotification extends BaseNotification
abstract class EventNotification extends BaseNotification
{
/**
* @inheritdoc
Expand Down
Loading