diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-31 17:07:44 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-31 17:07:44 +0200 |
commit | 116b257b4d1e9b986fc2d9a438b5c2cc92e3717f (patch) | |
tree | f3164f68139be647d22a366b3950a80f20bd36f7 /apps/files/lib | |
parent | 9233d32834d07f8bb55d8efb3436d70e66014cb5 (diff) | |
download | nextcloud-server-116b257b4d1e9b986fc2d9a438b5c2cc92e3717f.tar.gz nextcloud-server-116b257b4d1e9b986fc2d9a438b5c2cc92e3717f.zip |
DeMorgan applied the wrong transformation
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/activity.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/lib/activity.php b/apps/files/lib/activity.php index 7302bfb33b5..007f9a1dda4 100644 --- a/apps/files/lib/activity.php +++ b/apps/files/lib/activity.php @@ -333,9 +333,8 @@ class Activity implements IExtension { $parameters = $fileQueryList = []; $parameters[] = 'files'; - $fileQueryList[] = '`type` <> ?'; + $fileQueryList[] = '(`type` <> ? AND `type` <> ?)'; $parameters[] = self::TYPE_SHARE_CREATED; - $fileQueryList[] = '`type` <> ?'; $parameters[] = self::TYPE_SHARE_CHANGED; foreach ($favorites['items'] as $favorite) { |