Sid Gifari File Manager
🏠 Root
/
home
/
genremedia08
/
thepassage.overlookedtracks.com
/
wp-content9
/
plugins
/
backupbuddy
/
classes
/
api
/
Editing: _getSchedules.php
<?php $schedules = array(); foreach( pb_backupbuddy::$options['schedules'] as $schedule_id => $schedule ) { if ( isset( $schedule['on_off'] ) ) { $on_off = $schedule['on_off']; } else { $on_off = '1'; // Default to enabled if old schedule. } $schedules[] = array( 'title' => strip_tags( $schedule['title'] ), 'type' => pb_backupbuddy::$options['profiles'][$schedule['profile']]['type'], 'interval' => $schedule['interval'], 'lastRun' => $schedule['last_run'], 'nextRun' => backupbuddy_core::next_scheduled( 'run_scheduled_backup', array( (int) $schedule_id ) ), 'enabled' => $on_off, 'profileID' => $schedule['profile'], 'profileTitle' => strip_tags( pb_backupbuddy::$options['profiles'][$schedule['profile']]['title'] ), 'id' => $schedule_id ); } return $schedules;
Save
Cancel