summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ltqtapi/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ltqtapi/luasrc')
-rw-r--r--applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua14
-rw-r--r--applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua14
-rw-r--r--applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua14
3 files changed, 6 insertions, 36 deletions
diff --git a/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua b/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua
index abce09cea8..46c7684015 100644
--- a/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua
+++ b/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua
@@ -1,15 +1,5 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2019 John Crispin <blogic@openwrt.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-]]--
+-- Copyright 2019 John Crispin <blogic@openwrt.org>
+-- Licensed to the public under the Apache License 2.0.
module("luci.controller.ltqtapi", package.seeall)
diff --git a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua
index 40e00f346f..907db56e89 100644
--- a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua
+++ b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua
@@ -1,15 +1,5 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2010 John Crispin <blogic@openwrt.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-]]--
+-- Copyright 2010 John Crispin <blogic@openwrt.org>
+-- Licensed to the public under the Apache License 2.0.
m = Map("telephony", translate("VoIP"))
m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony restart") end
diff --git a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua
index 08311b5152..b32feded72 100644
--- a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua
+++ b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua
@@ -1,15 +1,5 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2010 John Crispin <blogic@openwrt.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-]]--
+-- Copyright 2010 John Crispin <blogic@openwrt.org>
+-- Licensed to the public under the Apache License 2.0.
m = Map("telephony", translate("VoIP"))
m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony reload") end