diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-29 20:31:12 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-29 20:31:12 +0200 |
commit | 48b5c1d5f934fb4f6c58bf196b81ee8089217e52 (patch) | |
tree | b894aebb2355470b46c330131f3a748fa469efcb /lib/public/share.php | |
parent | 2e1e283592e366f7a43a1a405e57520d0be13ff0 (diff) | |
download | nextcloud-server-48b5c1d5f934fb4f6c58bf196b81ee8089217e52.tar.gz nextcloud-server-48b5c1d5f934fb4f6c58bf196b81ee8089217e52.zip |
initial implementation of activity manager
Diffstat (limited to 'lib/public/share.php')
-rw-r--r-- | lib/public/share.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index 6c5783f1179..ff11aad1a12 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -1400,6 +1400,11 @@ class Share { 'id' => $parent, 'token' => $token )); + + // hook up activity manager + $subject = 'Something has been shared'; + \OC::$server->getActivityManager()->publishActivity('files_sharing', $subject, '', '', ''); + if ($parentFolder === true) { // Return parent folders to preserve file target paths for potential children return $parentFolders; |