Skip to content

Commit

Permalink
keep activities on private datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Nov 23, 2017
1 parent f8e519a commit 2b1efb2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ckan/lib/activity_streams_session_extension.py
Expand Up @@ -83,10 +83,6 @@ def before_commit(self, session):
# The object returns an activity stream item, so we know that the
# object is a package.

# Don't create activities for private datasets.
if obj.private:
continue

activities[obj.id] = activity

activity_detail = activity_stream_detail(obj, activity.id, "new")
Expand Down Expand Up @@ -117,10 +113,6 @@ def before_commit(self, session):
if package is None:
continue

# Don't create activities for private datasets.
if package.private:
continue

if package.id in activities:
activity = activities[package.id]
else:
Expand Down

0 comments on commit 2b1efb2

Please sign in to comment.