Internal: Update return value in Statistics::printToolStats()

pull/3240/head
Yannick Warnier 5 years ago
parent 1163a41781
commit 7b9a208a06
  1. 3
      main/inc/lib/statistics.lib.php

@ -793,13 +793,14 @@ class Statistics
* Show some stats about the accesses to the different course tools. * Show some stats about the accesses to the different course tools.
* *
* @param array $result If defined, this serves as data. Otherwise, will get the data from getToolsStats() * @param array $result If defined, this serves as data. Otherwise, will get the data from getToolsStats()
* @return string HTML table
*/ */
public static function printToolStats($result = null) public static function printToolStats($result = null)
{ {
if (empty($result)) { if (empty($result)) {
$result = self::getToolsStats(); $result = self::getToolsStats();
} }
self::printStats(get_lang('PlatformToolAccess'), $result, true); return self::printStats(get_lang('PlatformToolAccess'), $result, true);
} }
/** /**

Loading…
Cancel
Save