Skip to content

Commit

Permalink
fix upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
apdev committed Nov 13, 2023
1 parent dc3d7ff commit fd3bd28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upgrade/upgrade-3.0.2.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*/
function upgrade_module_3_0_0($module)
{
Configuration::deleteByName('_PRETTYBLOCKS_TOKEN_');
Configuration::updateGlobalValue('_PRETTYBLOCKS_TOKEN_', Tools::passwdGen(25));
\Configuration::deleteByName('_PRETTYBLOCKS_TOKEN_');
\Configuration::updateGlobalValue('_PRETTYBLOCKS_TOKEN_', \Tools::passwdGen(25));

return true;
}

0 comments on commit fd3bd28

Please sign in to comment.