/**
 * A wrapper function that includes the backup to Dropbox monitor page
 * @return void
 */
function backup_to_dropbox_monitor()
{
    if (!Dropbox_Facade::construct()->is_authorized()) {
        backup_to_dropbox_admin_menu_contents();
    } else {
        $uri = rtrim(WP_PLUGIN_URL, '/') . '/wordpress-backup-to-dropbox';
        include 'Views/wp-backup-to-dropbox-monitor.php';
    }
}
/**
 * A wrapper function that includes the backup to Dropbox monitor page
 * @return void
 */
function backup_to_dropbox_monitor()
{
    if (!WPB2D_Factory::get('dropbox')->is_authorized()) {
        backup_to_dropbox_admin_menu_contents();
    } else {
        $uri = plugin_dir_url(__FILE__);
        include 'Views/wpb2d-monitor.php';
    }
}