You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: classes/Visualizer/Module/Setup.php
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -165,12 +165,11 @@ public function deactivate() {
165
165
}
166
166
167
167
/**
168
-
* Refresh the specific chart from the db. This is mostly for charts that have 0 refresh time i.e. live data.
168
+
* Refresh the specific chart from the db.
169
169
*
170
170
* @param WP_Post $chart The chart object.
171
171
* @param int $chart_id The chart id.
172
-
* @param bool $force If this is true, then the chart data will be refreshed no matter if the chart requests live data or cached data.
173
-
* If false, data will be refreshed only if the chart requests live data.
172
+
* @param bool $force If this is true, then the chart data will be force refreshed. If false, data will be refreshed only if the chart requests live data.
174
173
*
175
174
* @access public
176
175
*/
@@ -183,6 +182,16 @@ public function refresh_db_for_chart( $chart, $chart_id, $force = false ) {
0 commit comments