Skip to content

Commit

Permalink
chore: notes on chart schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Jul 8, 2024
1 parent 8dbd746 commit 8413118
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/Visualizer/Module/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,12 @@ public function refresh_db_for_chart( $chart, $chart_id, $force = false ) {
}

/**
* Refresh the db chart.
* Refresh the Database chart type.
*
* @access public
*/
public function refreshDbChart() {
// NOTE: This use a different key from normal schedule. Updated only by Database chart. Check `visualizer_schedule_import` action.
$chart_schedules = get_option( Visualizer_Plugin::CF_DB_SCHEDULE, array() );
if ( ! $chart_schedules ) {
return;
Expand Down

0 comments on commit 8413118

Please sign in to comment.