Skip to content

Commit

Permalink
Merge pull request #67 from cosmocode/history
Browse files Browse the repository at this point in the history
Fix history logging
  • Loading branch information
splitbrain authored Apr 5, 2023
2 parents 92b06ae + 55e4346 commit 084518e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/StatisticsLogger.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public function log_history_pages() {
/** @var helper_plugin_popularity $pop */
$pop = plugin_load('helper', 'popularity');
$list = array();
search($list,$conf['datadir'],array($pop,'_search_count'),array('all'=>false),'');
search($list, $conf['datadir'], array($pop,'searchCountCallback'), array('all' => false), '');
$page_count = $list['file_count'];
$page_size = $list['file_size'];

Expand Down Expand Up @@ -527,7 +527,7 @@ public function log_history_media() {
/** @var helper_plugin_popularity $pop */
$pop = plugin_load('helper', 'popularity');
$list = array();
search($list,$conf['mediadir'],array($pop,'_search_count'),array('all'=>true),'');
search($list, $conf['mediadir'], array($pop, 'searchCountCallback'), array('all' => true), '');
$media_count = $list['file_count'];
$media_size = $list['file_size'];

Expand Down

0 comments on commit 084518e

Please sign in to comment.