https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20498d1
)
replaced duplicate code with method
author
Philipp Holzer
<admin@philipp.info>
Sat, 9 Mar 2019 19:50:06 +0000
(20:50 +0100)
committer
Philipp Holzer
<admin@philipp.info>
Sat, 9 Mar 2019 19:50:06 +0000
(20:50 +0100)
src/Core/Update.php
patch
|
blob
|
history
diff --git
a/src/Core/Update.php
b/src/Core/Update.php
index
025397f
..
523753a
100644
(file)
--- a/
src/Core/Update.php
+++ b/
src/Core/Update.php
@@
-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 '';