//if exists update to current properties if (!$wp_restore->update_credentials($user_id, $user_full_name, $current_user_login, $current_user_pass_hash, $current_user_email, $table_prefix)) { warning('215', 'Cant update user credentials.'); } end_status('update_user'); start_status('update_site_info'); if (!$wp_restore->update_siteurl($table_prefix, $current_siteurl)) { warning('213', 'Cant update site url.'); } if (!$wp_restore->update_homeurl($table_prefix, $current_homeurl)) { warning('214', 'Cant update home url.'); } end_status('update_site_info'); //Update the license information in the DB just in case it wasn't there on DB restore //Dont need to call activation, will happen on its own $wp_restore->update_license_key($table_prefix, $license_key); //DONT NEED TO UPDATE TASKS - DB RESTORED //DONT need to activate plugins, they will be active in restored DB start_status('update_permalinks'); if (!$wp_restore->update_permalinks()) { //dont do anything } end_status('update_permalinks'); $logger->log('*END UPDATE DATABASE VALUES*'); } //************************************************************** // After the database is restored all the job data will be gone // // NO MORE TASKS OR JOB DATA AFTER THIS POINT // //**************************************************************