]> _ Git - fluidbook-toolbox.git/commitdiff
wip #5700
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 18:19:01 +0000 (19:19 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 18:19:01 +0000 (19:19 +0100)
app/Http/Controllers/Admin/Operations/FluidbookPublication/DownloadOperation.php

index 9acca98b1f15ca7c9703d30eeb59e62ab0305ee9..f7f2da6d29686ae7ccd1d554b79c5db09b3c9d07 100644 (file)
@@ -50,7 +50,7 @@ trait DownloadOperation
      */
     protected function package($id, $action, $version)
     {
-        if (!in_array($action, ['download', 'install_hosting', 'install_ftp', 'scormcloud'])) {
+        if (!in_array($action, ['download', 'install', 'scormcloud'])) {
             abort(404, __('Cette action n\'est pas disponible'));
         }
         if (!FluidbookPublication::hasPermission($id)) {