CoreFiles by mySites.guru
database.php30 lines, 638 bytes, from Joomla_2.5.4-Stable-Full_Package.zip
Raw History Compare with 2.5.3
md5
ea5dbf4b56ab729ddc1f7219f3e3da26
sha1
514deca208e6d78119a6e1002018712b11fd788a
sha256
0cd5e5a033c07a73ba8c16286488b3804f7767d5a971e01f7c8346d1f77c8a8c
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_installer
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License, see LICENSE.php
 */

// No direct access.
defined('_JEXEC') or die;

/**
 * @package		Joomla.Administrator
 * @subpackage	com_installer
 */
class InstallerControllerDatabase extends JController
{

	/**
	 * Tries to fix missing database updates
	 *
	 * @since	2.5
	 */
	function fix()
	{
		$model = $this->getModel('database');
		$model->fix();
		$this->setRedirect(JRoute::_('index.php?option=com_installer&view=database', false));
	}
}

The same content is in 7 releases, Joomla 2.5.0 to 2.5.6. See them all, or every version of this file.