forked from verdnatura/hedera-web
Sync fix, icon background
This commit is contained in:
parent
690218c16e
commit
9e59d578b8
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.407.34) stable; urgency=low
|
||||
hedera-web (1.407.35) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.407.34",
|
||||
"version": "1.407.35",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
],
|
||||
"start_url": "/index.php",
|
||||
"display": "standalone",
|
||||
"theme_color": "#009688"
|
||||
"theme_color": "#009688",
|
||||
"background_color": "#FFFFFF"
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue