diff --git a/src/Database/PostUpdate.php b/src/Database/PostUpdate.php index a418a7948d..6713330e59 100644 --- a/src/Database/PostUpdate.php +++ b/src/Database/PostUpdate.php @@ -45,6 +45,7 @@ class PostUpdate { // Needed for the helper function to read from the legacy term table const OBJECT_TYPE_POST = 1; + const VERSION = 1349; /** * Calls the post update functions diff --git a/src/Module/Friendica.php b/src/Module/Friendica.php index f02cc2610b..7da0280896 100644 --- a/src/Module/Friendica.php +++ b/src/Module/Friendica.php @@ -26,6 +26,7 @@ use Friendica\Core\Addon; use Friendica\Core\Hook; use Friendica\Core\Renderer; use Friendica\Core\System; +use Friendica\Database\PostUpdate; use Friendica\DI; use Friendica\Model\User; use Friendica\Protocol\ActivityPub; @@ -96,7 +97,7 @@ class Friendica extends BaseModule '' . FRIENDICA_VERSION . '', DI::baseUrl()->get(), '' . DB_UPDATE_VERSION . '/' . $config->get('system', 'build') .'', - '' . $config->get('system', 'post_update_version') . ''), + '' . PostUpdate::VERSION . '/' . $config->get('system', 'post_update_version') . ''), 'friendica' => DI::l10n()->t('Please visit Friendi.ca to learn more about the Friendica project.'), 'bugs' => DI::l10n()->t('Bug reports and issues: please visit') . ' ' . '' . DI::l10n()->t('the bugtracker at github') . '', 'info' => DI::l10n()->t('Suggestions, praise, etc. - please email "info" at "friendi - dot - ca'),