Hello forum, Alec and pkp team,
Is there a way (db field etc…) to store a unique
Ojs instance id, like uuid, which is update resistable. So it exists after update?
THX
Oliver
Hello forum, Alec and pkp team,
Is there a way (db field etc…) to store a unique
Ojs instance id, like uuid, which is update resistable. So it exists after update?
THX
Oliver
Hi @ocolberg,
There is already a UUID setting used for statistics disambiguation; you can get it with:
// For OJS/OMP/OPS 3.4.0
$uniqueSiteId = Application::get()->getUUID();
// For OJS/OMP/OPS 3.3.0
$pluginSettingsDao =& DAORegistry::getDAO('PluginSettingsDAO');
$uniqueSiteId = $pluginSettingsDao->getSetting(CONTEXT_SITE, 'UsageEventPlugin', 'uniqueSiteId')
Regards,
Alec Smecher
Public Knowledge Project Team
THX!
Regards,
Oliver