Manually import single change from old staging repo
This commit is contained in:
parent
fc4c6bd340
commit
c74e30d5ba
1 changed files with 2 additions and 2 deletions
|
@ -874,7 +874,7 @@ BEGIN
|
|||
|| 's' ) :: INTERVAL;
|
||||
g_time := ( floor(sys.get_constant('accounts.warnings.grace')) || 's' )::INTERVAL;
|
||||
UPDATE admin.warnings SET last_received = now( ) - g_time , warnings = warnings - 1
|
||||
WHERE now() - last_received >= e_time AND warnings > 0;
|
||||
WHERE now() - last_received >= g_time AND warnings > 0;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
|
||||
|
@ -934,4 +934,4 @@ CREATE VIEW admin.users_list
|
|||
LEFT OUTER JOIN admin.warnings w ON w.credentials_id = av.id
|
||||
ORDER BY av.address;
|
||||
|
||||
GRANT SELECT ON admin.users_list TO :dbuser;
|
||||
GRANT SELECT ON admin.users_list TO :dbuser;
|
||||
|
|
Reference in a new issue