replaced duplicate code with method
This commit is contained in:
parent
20498d1d40
commit
f7c7851c2d
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Update
|
|||
if (Lock::acquire('dbupdate', 0, Cache::INFINITE)) {
|
||||
|
||||
// recheck again in case we accidentally spawned multiple updates
|
||||
$stored = intval(self::getBuild());
|
||||
$stored = self::getBuild();
|
||||
if ($stored >= $current) {
|
||||
Lock::release('dbupdate');
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue