Skip to content

Commit b81c89c

Browse files
committed
update status on rollback
1 parent 10b52ca commit b81c89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,10 +1086,10 @@ public function daily_sync() {
10861086
$this->settings->update( 'offloading_status', 'disabled' );
10871087
}
10881088
$this->settings->update( 'rollback_status', 'enabled' );
1089-
$this->settings->update( 'offload_media', 'disabled' );
10901089
// We start the rollback process.
10911090
Optml_Logger::instance()->add_log( 'rollback_images', 'Account deactivated, starting rollback.' );
10921091
Optml_Media_Offload::get_image_count( 'rollback_images', false );
1092+
$this->settings->update( 'offload_media', 'disabled' );
10931093
}
10941094
remove_filter( 'optml_dont_trigger_settings_updated', '__return_true' );
10951095
}

0 commit comments

Comments
 (0)