CoreFiles by mySites.guru
database.php31 lines, 688 bytes, from Joomla_3.0.0-Stable-Full_Package.zip
Raw History Compare with 2.5.28
md5
42ffca64b3f8a8de7fb85036a32f7952
sha1
8e8fb1510076da2e00b7923724c0dc7cc281203f
sha256
372042912c21b1f4aeb1748afd9b3e54cad36aa938ae0197220adfe30032caf5
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_installer
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * @package     Joomla.Administrator
 * @subpackage  com_installer
 */
class InstallerControllerDatabase extends JControllerLegacy
{
	/**
	 * Tries to fix missing database updates
	 *
	 * @return  void
	 *
	 * @since   2.5
	 */
	public function fix()
	{
		$model = $this->getModel('database');
		$model->fix();
		$this->setRedirect(JRoute::_('index.php?option=com_installer&view=database', false));
	}
}

The same content is in 2 releases, Joomla 3.0.0 to 3.0.1. See them all, or every version of this file.