File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -114,15 +114,6 @@ function onShow() {
114114 }
115115
116116 //* Get the data
117- $ server_ids = array ();
118- $ web = $ app ->db ->queryOneRecord ("SELECT server_id FROM web_domain WHERE domain_id = " .$ app ->functions ->intval ($ this ->form ->id ));
119- $ databases = $ app ->db ->queryAllRecords ("SELECT server_id FROM web_database WHERE parent_domain_id = " .$ app ->functions ->intval ($ this ->form ->id ));
120- if ($ app ->functions ->intval ($ web ['server_id ' ]) > 0 ) $ server_ids [] = $ app ->functions ->intval ($ web ['server_id ' ]);
121- if (is_array ($ databases ) && !empty ($ databases )){
122- foreach ($ databases as $ database ){
123- if ($ app ->functions ->intval ($ database ['server_id ' ]) > 0 ) $ server_ids [] = $ app ->functions ->intval ($ database ['server_id ' ]);
124- }
125- }
126117 $ server_ids = array_unique ($ server_ids );
127118 $ web = $ app ->db ->queryOneRecord ("SELECT server_id FROM web_domain WHERE domain_id = " .$ app ->functions ->intval ($ this ->form ->id ));
128119 $ databases = $ app ->db ->queryAllRecords ("SELECT server_id FROM web_database WHERE parent_domain_id = " .$ app ->functions ->intval ($ this ->form ->id ));
You can’t perform that action at this time.
0 commit comments