Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: notes on chart schedule #1168

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: notes on chart schedule
  • Loading branch information
Soare-Robert-Daniel committed Jul 8, 2024
commit 8413118d0eb0dec9b87b00a1a4fbf5ef88492f45
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
Loading