Settings_Migration

Settings migration functions.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

update_2_0_0_migrate_settings()  : mixed
Migrate settings from v1 to v2
handle_fresh_v2_install()  : bool
Handle a fresh v2 install.

Methods

update_2_0_0_migrate_settings()

Migrate settings from v1 to v2

public static update_2_0_0_migrate_settings() : mixed
Tags
Return values
mixed

handle_fresh_v2_install()

Handle a fresh v2 install.

private static handle_fresh_v2_install() : bool

This creates the legacy options keys for PTP core compatibility.

Tags
Return values
bool

Search results