/**
  * method to run after an install/update/uninstall method
  *
  * @return void
  */
 function postflight($type, $parent)
 {
     // $parent is the class calling this method
     // $type is the type of change (install, update or discover_install)
     if (!JFile::Move($parent->getParent()->getPath('extension_root') . DIRECTORY_SEPARATOR . "_admirorframes.xml", $parent->getParent()->getPath('extension_root') . DIRECTORY_SEPARATOR . "admirorframes.xml")) {
         JError::raiseError(4711, 'Manifest file could not be renamed. Please go to plugins/content/admirorframes and rename _admirorframes.xml to admirorframes.xml');
     }
 }