Short list syntax can be used

Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
Yuriy Pikhtarev 2018-06-24 15:21:55 +03:00
commit 742575bb56
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
7 changed files with 10 additions and 10 deletions

View file

@ -134,7 +134,7 @@ if ($mode == 'submit' || $mode == 'refresh') {
}
// get the db sizes
list($search_data_size, $search_index_size, $search_tables_size) = get_db_sizes();
[$search_data_size, $search_index_size, $search_tables_size] = get_db_sizes();
// get the post subject/text of each post
$result = DB()->query("
@ -290,7 +290,7 @@ if ($mode == 'submit' || $mode == 'refresh') {
}
// get the db sizes
list($search_data_size, $search_index_size, $search_tables_size) = get_db_sizes();
[$search_data_size, $search_index_size, $search_tables_size] = get_db_sizes();
// calculate the final (estimated) values
$final_search_tables_size = '';