protected function _process( array $stmts )
	{
		$this->_msg( 'Migrating "Complete" to "BasketLimits" plugin', 0 ); $this->_status( '' );

		if( $this->_schema->columnExists( 'mshop_plugin', 'config' ) === true
			&& $this->_schema->columnExists( 'mshop_plugin', 'provider' ) === true
		) {
			foreach( $stmts as $key => $list )
			{
				$this->_msg( sprintf( 'Migrating "%1$s"', $key ), 1 );

				if( $this->_getValue( $list['select'], 'cnt' ) > 0 )
				{
					$this->_execute( $list['update'] );
					$this->_status( 'migrated' );
				}
				else
				{
					$this->_status( 'OK' );
				}
			}
		}
	}
protected function _process( array $stmts )
	{
		$this->_msg( 'Migrating "Complete" to "BasketLimits" plugin', 0 ); $this->_status( '' );

		if( $this->_schema->columnExists( 'mshop_plugin', 'config' ) === true
			&& $this->_schema->columnExists( 'mshop_plugin', 'provider' ) === true
		) {
			foreach( $stmts as $key => $list )
			{
				$this->_msg( sprintf( 'Migrating "%1$s"', $key ), 1 );

				if( $this->_getValue( $list['select'], 'cnt' ) > 0 )
				{
					$this->_execute( $list['update'] );
					$this->_status( 'migrated' );
				}
				else
				{
					$this->_status( 'OK' );
				}
			}
		}
	}
protected function _process ( array $ stmts ) { $ this -> _msg ( 'Migrating "Complete" to "BasketLimits" plugin' , 0 ) ; $ this -> _status ( '' ) ; if ( $ this -> _schema -> columnExists ( 'mshop_plugin' , 'config' ) === true && $ this -> _schema -> columnExists ( 'mshop_plugin' , 'provider' ) === true ) { foreach ( $ stmts as $ key => $ list ) { $ this -> _msg ( sprintf ( 'Migrating "%1$s"' , $ key ) , 1 ) ; if ( $ this -> _getValue ( $ list [ 'select' ] , 'cnt' ) > 0 ) { $ this -> _execute ( $ list [ 'update' ] ) ; $ this -> _status ( 'migrated' ) ; } else { $ this -> _status ( 'OK' ) ; } } } }
Migrates "Complete" plugin if necessary.

@param array $stmts List of SQL statements to execute for adding columns
Migrates Complete plugin if necessary .