1/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ 2 3System.assert(Internal.run_with_activation_context(function() { 4 template TimePeriod "legacy-timeperiod" use (LegacyTimePeriod = Internal.LegacyTimePeriod) default { 5 update = LegacyTimePeriod 6 } 7})) 8 9var methods = [ 10 "LegacyTimePeriod" 11] 12 13for (method in methods) { 14 Internal.remove(method) 15} 16