]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing ')'
authorMichael Gapczynski <GapczynskiM@gmail.com>
Thu, 21 Jun 2012 16:25:45 +0000 (12:25 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Thu, 21 Jun 2012 16:26:06 +0000 (12:26 -0400)
apps/files_sharing/get.php

index 1ab8c6a257f55a3d44324b0838af7e378ec9daea..40a90a1530c559bacb5e0b24da05a9a22e2b78c8 100644 (file)
@@ -77,7 +77,7 @@ if (isset($_GET['token']) && $source = OC_Share::getSource($_GET['token'])) {
                header("Content-Length: " . OC_Filesystem::filesize($source));
                //download the file
                @ob_clean();
-               OCP\Util::emitHook('OC_Share', 'public-download', array('source'=>$source, 'token'=>$token);
+               OCP\Util::emitHook('OC_Share', 'public-download', array('source'=>$source, 'token'=>$token));
                OC_Filesystem::readfile($source);
        }
 } else {