Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #2810 #30251

Closed
wants to merge 2 commits into from
Closed

Conversation

hansemschnokeloch
Copy link
Contributor

Fix #2810

Time to fix oldest open issue :)

@@ -98,6 +98,16 @@

print load_fiche_titre(' ', $resultboxes['selectboxlist'], '', 0, '', 'titleforhome');

if (DOL_VERSION != $conf->global->MAIN_VERSION_LAST_UPGRADE) {
Copy link
Member

@eldy eldy Jul 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be required anymore.
We have this in current main.inc.php

// If an upgrade process is required, we call the install page.
$checkifupgraderequired = false;
if (getDolGlobalString('MAIN_VERSION_LAST_UPGRADE') && getDolGlobalString('MAIN_VERSION_LAST_UPGRADE') != DOL_VERSION) {
	$checkifupgraderequired = true;
}
if (!getDolGlobalString('MAIN_VERSION_LAST_UPGRADE') && getDolGlobalString('MAIN_VERSION_LAST_INSTALL') && getDolGlobalString('MAIN_VERSION_LAST_INSTALL') != DOL_VERSION) {
	$checkifupgraderequired = true;
}
if ($checkifupgraderequired) {
etc...

and if upgrade is required, a redirect to the upgrade process is automatically done. No choice.

So i think we can close the issue, the oldest one ?!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that doesn't seem necessary any more. The issue should have been closed a long time ago.

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Jul 4, 2024
@eldy eldy closed this Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show warning sign in homescreen if dolibarr database version differs from actual dolibarr version
2 participants