1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Made latest update routine method name generic.

This commit is contained in:
Cameron
2023-03-19 15:14:04 -07:00
parent e596aa94d7
commit cb166cb758
2 changed files with 4 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ if (!$dont_check_update)
// $dbupdate['217_to_218'] = array('master'=>false, 'title'=> e107::getParser()->lanVars($LAN_UPDATE_4, array('2.1.7','2.1.8')), 'message'=> null, 'hide_when_complete'=>true);
$dbupdate['706_to_800'] = array('master'=>true, 'title'=> e107::getParser()->lanVars($LAN_UPDATE_4, array('1.x','2.0')), 'message'=> LAN_UPDATE_29, 'hide_when_complete'=>true);
$dbupdate['20x_to_233'] = array('master'=>true, 'title'=> e107::getParser()->lanVars($LAN_UPDATE_4, array('2.x','2.3.3')), 'message'=> null, 'hide_when_complete'=>false);
$dbupdate['20x_to_latest'] = array('master'=>true, 'title'=> e107::getParser()->lanVars($LAN_UPDATE_4, array('2.x', $e107info['e107_version'])), 'message'=> null, 'hide_when_complete'=>false);
@@ -628,7 +628,7 @@ function update_core_database($type = '')
* @param string $type
* @return bool true = no update required, and false if update required.
*/
function update_20x_to_233($type='')
function update_20x_to_latest($type='')
{
$sql = e107::getDb();