diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-03 09:22:21 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-22 15:10:34 +0200 |
commit | a1037f1679a53954a1385481dc30d37a8413b179 (patch) | |
tree | d003e7a3f29ecb84d464f8792d265280cde917de /apps/files_sharing | |
parent | 270ec3aaba75c5244721a6e301148fcff7fbd467 (diff) | |
download | nextcloud-server-a1037f1679a53954a1385481dc30d37a8413b179.tar.gz nextcloud-server-a1037f1679a53954a1385481dc30d37a8413b179.zip |
Do not use magic strings when there are constants for it
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/activity.php b/apps/files_sharing/lib/activity.php index e531674ddc2..204c0a037b9 100644 --- a/apps/files_sharing/lib/activity.php +++ b/apps/files_sharing/lib/activity.php @@ -106,7 +106,7 @@ class Activity implements IExtension { self::TYPE_REMOTE_SHARE, ]; - if ($method === 'stream') { + if ($method === self::METHOD_STREAM) { $defaultTypes[] = self::TYPE_PUBLIC_LINKS; } |