Not a developer? Go to MovableType.com

Documentation

MT::Upgrade::SQL

This callback is invoked for each SQL statement that is executed against the database as part of the upgrade process.

Input Parameters

  • $cb - a reference to the current MT::Callback object handling this event.
  • $app - a reference to the MT::App::Upgrade object processing this request.
  • $sql - the SQL about to be invoked by Movable Type.

Return Value

None.

Example Handler

sub handler {
    my ($cb,$app,$sql) = @_;
    # do something
}
Back

Leave a Comment