1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01: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

@ -48,9 +48,9 @@ if (!defined('e107_INIT'))
</p>
<h4 class="text-info">Sponsors</h4>
<p>
<a target="_blank" href="https://stemaidinstitute.com" title="Visit Stemaid Institute">Stemaid</a>.<br />
<a target="_blank" rel="nofollow" href="https://stemaidinstitute.com" title="Visit Stemaid Institute">Stemaid</a>.<br />
</p>
<div class="copyright">Copyright <a target="_blank" href="https://e107.org/community" title="e107 Team">e107.org</a> 2008-'.date('Y').'.<br />Released under the terms of the GNU GPL License.</div>
<div class="copyright">Copyright <a target="_blank" rel="nofollow" href="https://e107.org/community" title="e107 Team">e107.org</a> 2008-'.date('Y').'.<br />Released under the terms of the GNU GPL License.</div>
</div>
</div>
</div>

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();