mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 01:40:12 +00:00
Refactors base_recipients to recipients
This commit is contained in:
parent
32b4a1cca4
commit
ddf2970843
3 changed files with 11 additions and 11 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/recipients/?.lua;" .. package.path
|
||||
local base_recipients = require "base_recipients"
|
||||
local recipients = require "recipients"
|
||||
local json = require "dkjson"
|
||||
local sqlite_recipients = {}
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ local sqlite_recipients = {}
|
|||
|
||||
function sqlite_recipients:create()
|
||||
-- Instance of the base class
|
||||
local _sqlite_recipients = base_recipients:create()
|
||||
local _sqlite_recipients = recipients:create()
|
||||
|
||||
-- Subclass using the base class instance
|
||||
self.key = "sqlite"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue