mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Short list syntax can be used
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
parent
4bb72dfe59
commit
742575bb56
7 changed files with 10 additions and 10 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue