[core] all image columns should be statically or dynamically defined - nothing undefined

This commit is contained in:
Shish
2024-01-15 18:01:48 +00:00
parent fb034af699
commit 2a494504f3
9 changed files with 86 additions and 27 deletions

View File

@@ -9,6 +9,11 @@ class Notes extends Extension
/** @var NotesTheme */
protected Themelet $theme;
public function onInitExt(InitExtEvent $event): void
{
Image::$prop_types["notes"] = ImagePropType::INT;
}
public function onDatabaseUpgrade(DatabaseUpgradeEvent $event): void
{
global $config, $database;