Sync fix, icon background
gitea/hedera-web/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2021-01-15 14:52:26 +01:00
parent 690218c16e
commit 9e59d578b8
4 changed files with 7 additions and 8 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.407.34) stable; urgency=low
hedera-web (1.407.35) stable; urgency=low
* Initial Release.

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "1.407.34",
"version": "1.407.35",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {

View File

@ -8,5 +8,6 @@
],
"start_url": "/index.php",
"display": "standalone",
"theme_color": "#009688"
"theme_color": "#009688",
"background_color": "#FFFFFF"
}

View File

@ -2,15 +2,13 @@
class Account {
static function trySync($db, $userName, $password = NULL) {
$isSync = $db->getValue(
$sync = $db->getValue(
'SELECT COUNT(*) > 0 FROM account.userSync WHERE name = #',
[$userName]
);
if ($isSync)
return;
self::sync($db, $userName, $password);
if ($sync)
self::sync($db, $userName, $password);
}
static function sync($db, $userName, $password = NULL) {