Sync fix, icon background
gitea/hedera-web/pipeline/head This commit looks good
Details
gitea/hedera-web/pipeline/head This commit looks good
Details
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.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue