diff --git a/core/Piwik.php b/core/Piwik.php
index <HASH>..<HASH> 100644
--- a/core/Piwik.php
+++ b/core/Piwik.php
@@ -2483,7 +2483,7 @@ class Piwik
 			. $period->getId() . '/'
 			. $period->getDateStart()->toString('Y-m-d') . ','
 			. $period->getDateEnd()->toString('Y-m-d');
-		return $lockName .'/'. md5($lockName . $config->superuser['salt']);
+		return $lockName .'/'. md5($lockName . Piwik_Common::getSalt());
 	}
 
 	/**
fixes #<I> - salt was added in <I>; Zend_Config masked its absence

git-svn-id: <URL>