diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-04-13 19:40:33 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-07 09:04:07 +0200 |
commit | 2d581c675fb488df0875e4a489821cf88b7679ac (patch) | |
tree | 4180d67536e781d399e2b6336e2a8b49ca8abd7b /apps/files_sharing/get.php | |
parent | a2df8a4746dd9c355541501e78726daaa6dbec43 (diff) | |
download | nextcloud-server-2d581c675fb488df0875e4a489821cf88b7679ac.tar.gz nextcloud-server-2d581c675fb488df0875e4a489821cf88b7679ac.zip |
Audit: Log sharing actions
Diffstat (limited to 'apps/files_sharing/get.php')
-rwxr-xr-x | apps/files_sharing/get.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php index de3bc5f46dc..57ff6b6e200 100755 --- a/apps/files_sharing/get.php +++ b/apps/files_sharing/get.php @@ -74,6 +74,7 @@ if ($source !== false) { header("Content-Length: " . OC_Filesystem::filesize($source)); //download the file @ob_clean(); + OCP\Util::emitHook('OC_Share', 'public-download', array('source'=>$source, 'token'=>$token); OC_Filesystem::readfile($source); } } else { |