summaryrefslogtreecommitdiffstats
path: root/lib/icinga/icinga-itl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/icinga/icinga-itl.conf')
-rw-r--r--lib/icinga/icinga-itl.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/icinga/icinga-itl.conf b/lib/icinga/icinga-itl.conf
new file mode 100644
index 0000000..22b688a
--- /dev/null
+++ b/lib/icinga/icinga-itl.conf
@@ -0,0 +1,15 @@
+/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
+
+System.assert(Internal.run_with_activation_context(function() {
+ template TimePeriod "legacy-timeperiod" use (LegacyTimePeriod = Internal.LegacyTimePeriod) default {
+ update = LegacyTimePeriod
+ }
+}))
+
+var methods = [
+ "LegacyTimePeriod"
+]
+
+for (method in methods) {
+ Internal.remove(method)
+}