summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-02-02 18:20:20 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-02-02 18:20:20 +0100
commitd7892619b1e4d2eeb84514420e177db8f0f1c13e (patch)
tree311152569a931b48c006751e3a73b8b5f73edd99
parent0e95b9f2d560f5fc177e672162e995341cfba025 (diff)
parent5a3d2ef2a1dc2cf2b28cb8c833a89c2eccefcbed (diff)
downloadnextcloud-server-d7892619b1e4d2eeb84514420e177db8f0f1c13e.tar.gz
nextcloud-server-d7892619b1e4d2eeb84514420e177db8f0f1c13e.zip
Merge pull request #22076 from owncloud/activities-yes-default-enabled-no
Don't enable tag activities for email by default
-rw-r--r--apps/systemtags/activity/extension.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/systemtags/activity/extension.php b/apps/systemtags/activity/extension.php
index aa61b0bb94e..4a974611509 100644
--- a/apps/systemtags/activity/extension.php
+++ b/apps/systemtags/activity/extension.php
@@ -83,7 +83,7 @@ class Extension implements IExtension {
* @return array|false
*/
public function getDefaultTypes($method) {
- return [self::APP_NAME];
+ return $method === self::METHOD_STREAM ? [self::APP_NAME] : false;
}
/**