Commit 687f88ac authored by Thomas Löffler's avatar Thomas Löffler

Adds persistAll method for saving download count

parent 06677c29
Pipeline #2179 passed with stages
in 1 minute and 21 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