Skip to content

Commit

Permalink
fixed popularity plugin
Browse files Browse the repository at this point in the history
The callback needs to be public
  • Loading branch information
splitbrain committed Jul 21, 2018
1 parent 91a976f commit 3409ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/popularity/helper.php
Expand Up @@ -264,7 +264,7 @@ protected function addPluginUsageData(&$data)
* @param array $opts option array as given to search()
* @return bool
*/
protected function searchCountCallback(&$data, $base, $file, $type, $lvl, $opts)
public function searchCountCallback(&$data, $base, $file, $type, $lvl, $opts)
{
// traverse
if ($type == 'd') {
Expand Down

0 comments on commit 3409ba7

Please sign in to comment.