english/libraries/joomla/installer/adapters/plugin.php
/**
	 * Custom update method
	 *
	 * @return	boolean	True on success
	 * @since	11.1
	 */
Custom update method
@return      boolean True on success
@since       11.1
Custom update method @return boolean True on success @since 11 . 1
function update()
	{
		$this->parent->setOverwrite(true);
		$this->parent->setUpgrade(true);
		$this->route = 'update';
		return $this->install();
	}
function update ( ) { $ this -> parent -> setOverwrite ( true ) ; $ this -> parent -> setUpgrade ( true ) ; $ this -> route = 'update' ; return $ this -> install ( ) ; }
Custom update method
 @return      boolean True on success
 @since       11.1
Custom update method @return boolean True on success @since 11 . 1
// Set the overwrite setting // Set the route for the install // Go to install which handles updates properly