<?php

class WPML_Upgrade_Loader_Factory implements IWPML_Backend_Action_Loader {

	public function create() {
		global $sitepress, $wpdb;

		return new WPML_Upgrade_Loader( $sitepress, new WPML_Upgrade_Schema( $wpdb ), wpml_load_settings_helper(), wpml_get_admin_notices(), new WPML_Upgrade_Command_Factory() );
	}
}