1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

Enable automatic recalculation of statistics

This commit is contained in:
Starbeamrainbowlabs 2017-08-14 18:48:51 +01:00
parent 934d1e2bc0
commit ca5b16727e
3 changed files with 7 additions and 1 deletions

View file

@ -4186,6 +4186,9 @@ register_module([
return $result;
}
]);
// Perform an automatic recalculation of the statistics if needed
update_statistics(false);
}
]);

View file

@ -113,7 +113,7 @@
"author": "Starbeamrainbowlabs",
"description": "An extensible statistics calculation system. Comes with a range of built-in statistics, but can be extended by other modules too.",
"id": "feature-stats",
"lastupdate": 1500066611,
"lastupdate": 1502732758,
"optional": false
},
{

View file

@ -152,6 +152,9 @@ register_module([
return $result;
}
]);
// Perform an automatic recalculation of the statistics if needed
update_statistics(false);
}
]);