summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Activity/Providers/PublicLinks.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Activity/Providers/PublicLinks.php')
-rw-r--r--apps/files_sharing/lib/Activity/Providers/PublicLinks.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/files_sharing/lib/Activity/Providers/PublicLinks.php b/apps/files_sharing/lib/Activity/Providers/PublicLinks.php
index 20b8414bee9..97fc66eaf69 100644
--- a/apps/files_sharing/lib/Activity/Providers/PublicLinks.php
+++ b/apps/files_sharing/lib/Activity/Providers/PublicLinks.php
@@ -45,15 +45,15 @@ class PublicLinks extends Base {
if ($event->getSubject() === self::SUBJECT_SHARED_LINK_SELF) {
$subject = $this->l->t('Shared as public link');
- } else if ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_SELF) {
+ } elseif ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_SELF) {
$subject = $this->l->t('Removed public link');
- } else if ($event->getSubject() === self::SUBJECT_LINK_EXPIRED) {
+ } elseif ($event->getSubject() === self::SUBJECT_LINK_EXPIRED) {
$subject = $this->l->t('Public link expired');
- } else if ($event->getSubject() === self::SUBJECT_RESHARED_LINK_BY) {
+ } elseif ($event->getSubject() === self::SUBJECT_RESHARED_LINK_BY) {
$subject = $this->l->t('{actor} shared as public link');
- } else if ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_BY) {
+ } elseif ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_BY) {
$subject = $this->l->t('{actor} removed public link');
- } else if ($event->getSubject() === self::SUBJECT_LINK_BY_EXPIRED) {
+ } elseif ($event->getSubject() === self::SUBJECT_LINK_BY_EXPIRED) {
$subject = $this->l->t('Public link of {actor} expired');
} else {
@@ -81,15 +81,15 @@ class PublicLinks extends Base {
if ($event->getSubject() === self::SUBJECT_SHARED_LINK_SELF) {
$subject = $this->l->t('You shared {file} as public link');
- } else if ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_SELF) {
+ } elseif ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_SELF) {
$subject = $this->l->t('You removed public link for {file}');
- } else if ($event->getSubject() === self::SUBJECT_LINK_EXPIRED) {
+ } elseif ($event->getSubject() === self::SUBJECT_LINK_EXPIRED) {
$subject = $this->l->t('Public link expired for {file}');
- } else if ($event->getSubject() === self::SUBJECT_RESHARED_LINK_BY) {
+ } elseif ($event->getSubject() === self::SUBJECT_RESHARED_LINK_BY) {
$subject = $this->l->t('{actor} shared {file} as public link');
- } else if ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_BY) {
+ } elseif ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_BY) {
$subject = $this->l->t('{actor} removed public link for {file}');
- } else if ($event->getSubject() === self::SUBJECT_LINK_BY_EXPIRED) {
+ } elseif ($event->getSubject() === self::SUBJECT_LINK_BY_EXPIRED) {
$subject = $this->l->t('Public link of {actor} for {file} expired');
} else {