Commit 986710d8 authored by Thomas Löffler's avatar Thomas Löffler

Merge branch 'add-persist-all-in-download-action' into 'develop'

Adds persistAll method for saving download count

See merge request !195
parents 06677c29 687f88ac
Pipeline #2180 passed with stages
in 2 minutes and 14 seconds
......@@ -487,6 +487,7 @@ class ExtensionController extends \T3o\TerFe2\Controller\AbstractController
// Add +1 to download counter and save immediately
$version->incrementDownloadCounter();
$versionRepository->update($version);
$this->persistenceManager->persistAll();
// Add extension key to session
$downloads[] = $extensionKey;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment