fixed use of removed plugin function in revert plugin (FS#2744)