database.js, main.js: fix calls to Notification()

(See also #2770.)
10 jobs for feature-c/notify_server_error in 5 minutes and 59 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test Tools
passed #179753
test_tools

00:00:07

 
  Test Quality
passed #179754
web
code_quality

00:00:11

 
  Test Unit
passed #179755
web
test_browser_unit

00:00:12

 
  Deploy Review
passed #179756
web
deploy_review

00:00:09

passed #179757
web allowed to fail manual
stop_deploy_review

00:00:06

 
  Test Functional
passed #179758
web
test_browser-functional

00:03:12

 
  Test Functional External
passed #179780
web
test_browser-functional-external

00:02:00

failed #179773
web
test_browser-functional-external

00:02:00

failed #179771
web
test_browser-functional-external

00:01:53

failed #179759
web
test_browser-functional-external

00:02:01