koblog/bl-kernel/boot/rules/50.updaters.php
Kazhnuz e8cebf6c10 ♻️ 💥 (pages): use the "article" type instead of published
It makes more sense to use the type of page you have for the type, and it prepare published to be a state instead of a type
2025-01-23 22:41:26 +01:00

15 lines
No EOL
492 B
PHP

<?php defined('KOBLOG') or die('Koblog CMS.');
// ============================================================================
// Variables
// ============================================================================
global $site;
// ============================================================================
// Main
// ============================================================================
if ($site->databaseVersion() < 2) {
KoblogUpdater::upgradeArticlesToPageTypes();
}