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. * Initial Release.

View File

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

View File

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

View File

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