diff options
Diffstat (limited to 'apps/files/lib/Activity')
-rw-r--r-- | apps/files/lib/Activity/FavoriteProvider.php | 4 | ||||
-rw-r--r-- | apps/files/lib/Activity/Helper.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/lib/Activity/FavoriteProvider.php b/apps/files/lib/Activity/FavoriteProvider.php index 9cf1255765b..8692b83f008 100644 --- a/apps/files/lib/Activity/FavoriteProvider.php +++ b/apps/files/lib/Activity/FavoriteProvider.php @@ -32,8 +32,8 @@ use OCP\IURLGenerator; use OCP\L10N\IFactory; class FavoriteProvider implements IProvider { - const SUBJECT_ADDED = 'added_favorite'; - const SUBJECT_REMOVED = 'removed_favorite'; + public const SUBJECT_ADDED = 'added_favorite'; + public const SUBJECT_REMOVED = 'removed_favorite'; /** @var IFactory */ protected $languageFactory; diff --git a/apps/files/lib/Activity/Helper.php b/apps/files/lib/Activity/Helper.php index df9ed7af909..c274df2ccbb 100644 --- a/apps/files/lib/Activity/Helper.php +++ b/apps/files/lib/Activity/Helper.php @@ -27,7 +27,7 @@ use OCP\ITagManager; class Helper { /** If a user has a lot of favorites the query might get too slow and long */ - const FAVORITE_LIMIT = 50; + public const FAVORITE_LIMIT = 50; /** @var ITagManager */ protected $tagManager; |