bug #1170227, copying a db does not refresh the queryframe

This commit is contained in:
Marc Delisle
2005-05-30 00:05:22 +00:00
parent 5d55e93c03
commit 36099ecac3
3 changed files with 12 additions and 4 deletions

View File

@@ -32,8 +32,9 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
?>
var forceQueryFrameReload = false;
<?php
// this flag comes from sql.php when we saw a DROP DATABASE
if ($is_drop_database) {
// $is_drop_database comes from sql.php when we saw a DROP DATABASE
// $force_queryframe_reload comes from db_operations.php
if ((isset($is_drop_database) && $is_drop_database) || (isset($force_queryframe_reload) && $force_queryframe_reload == TRUE)) {
?>
forceQueryFrameReload = true;
<?php