Skip to content

Commit 904ee07

Browse files
committed
remove print statements for foreign keys
1 parent 0e6c8aa commit 904ee07

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

R/mod_launchpad_loader.R

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,6 @@ mod_launchpad_loader_server <- function(id, glob, setup) {
6666
}
6767
)
6868

69-
observeEvent(glob$pool, {
70-
# Query the PRAGMA foreign_keys setting
71-
result <- pool::dbGetQuery(glob$pool, "PRAGMA foreign_keys;")
72-
foreign_keys_status <- result[[1]]
73-
print(sprintf(
74-
"console.log('PRAGMA foreign_keys: %s');",
75-
foreign_keys_status
76-
))
77-
# Use shinyjs to send the result to the JavaScript console
78-
js_code <- sprintf(
79-
"console.log('PRAGMA foreign_keys: %s');",
80-
foreign_keys_status
81-
)
82-
shinyjs::runjs(js_code)
83-
})
84-
8569
reactive({
8670
onStop(function() {
8771
print("closing pool")

0 commit comments

Comments
 (0)