mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16940] Optimize phpBB Native Search
- Removed `end()` replaced with `$ids[count($ids) - 1]` PHPBB3-16940
This commit is contained in:
parent
65fa73855c
commit
ddc3eaa5bf
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ class acp_search
|
||||||
$this->search->index_remove($ids, $posters, $forum_ids);
|
$this->search->index_remove($ids, $posters, $forum_ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
$post_counter = end($ids);
|
$post_counter = $ids[count($ids) - 1];
|
||||||
}
|
}
|
||||||
// save the current state
|
// save the current state
|
||||||
$this->save_state();
|
$this->save_state();
|
||||||
|
|
Loading…
Add table
Reference in a new issue