0
Completed

Option to force weblink to expire

Gerald F 3 years ago in Feature requests updated by Vlad R 3 years ago 1

Would it be possible to have an option for when weblinks are created to automatically add an experiment date (eg one year)?

Answer

Answer
Completed

You can achieve that by adding something like this inside "customizables/config.php":


$config['app']['weblinks']['defaults']['expiry'] = 'NOW()+INTERVAL 1 YEAR';

The value must be a valid MySQL DATETIME. It is up to you how to generate it.

Answer
Completed

You can achieve that by adding something like this inside "customizables/config.php":


$config['app']['weblinks']['defaults']['expiry'] = 'NOW()+INTERVAL 1 YEAR';

The value must be a valid MySQL DATETIME. It is up to you how to generate it.