joomla/joomla-platform — pull request #1343 by mbabker (2012-07-04 02:37:37+00:00)
Title: Handling msg object in adapter uninstall

1) Presently, a PHP Notice "ob_end_clean(): failed to delete buffer. No buffer to delete in /libraries/joomla/installer/adapters/plugin.php on line 638" is thrown during plugin uninstall because a `$msg` object is created before the `ob_start()` command is issued. This instance is not necessary since the object is set at the correct time after the custom uninstall method.

2) In the file, module, and package adapters, the `$msg` object wasn't registered to extension_message, contradictory in behavior to the component and plugin adapters. This is corrected.