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

Add a condition on agreeDev display message #2860

Merged
merged 1 commit into from Sep 28, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion install/update.php
Expand Up @@ -536,7 +536,9 @@ function updateTreeDropdown() {
echo "<h3><span class='migred'>".sprintf(__('Caution! You will update the GLPI database named: %s'), $DB->dbdefault) ."</h3>";

echo "<form action='update.php' method='post'>";
echo Config::agreeDevMessage();
if (strlen(GLPI_SCHEMA_VERSION) > 40) {
echo Config::agreeDevMessage();
}
echo "<input type='submit' class='submit' name='continuer' value=\"".__('Continue')."\">";
Html::closeForm();
echo "</div>";
Expand Down