From 29f78ce73fd35978f34d1aa4d7a7697889298d3e Mon Sep 17 00:00:00 2001 From: Dennis Dast Date: Mon, 20 Sep 2021 15:56:04 +0200 Subject: [PATCH] luci-app-radicale2: Fix library loading This fixes the "Authentication / Users" and "Storage" tab of luci-app-radicale2. Signed-off-by: Dennis Dast --- .../luci-app-radicale2/luasrc/model/cbi/radicale2/auth.lua | 2 +- .../luci-app-radicale2/luasrc/model/cbi/radicale2/storage.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/auth.lua b/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/auth.lua index 19a7f0c753..c77dddea03 100644 --- a/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/auth.lua +++ b/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/auth.lua @@ -1,6 +1,6 @@ -- Licensed to the public under the Apache License 2.0. -local rad2 = luci.controller.radicale2 +local rad2 = require "luci.controller.radicale2" local fs = require("nixio.fs") local util = require("luci.util") diff --git a/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/storage.lua b/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/storage.lua index 3440296edf..1ca378d461 100644 --- a/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/storage.lua +++ b/applications/luci-app-radicale2/luasrc/model/cbi/radicale2/storage.lua @@ -1,6 +1,6 @@ -- Licensed to the public under the Apache License 2.0. -local rad2 = luci.controller.radicale2 +local rad2 = require "luci.controller.radicale2" local fs = require("nixio.fs") local m = Map("radicale2", translate("Radicale 2.x"), -- 2.30.2