comparison src/plugins/plugin_misc_account.py @ 2145:33c8c4973743

core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author Goffi <goffi@goffi.org>
date Sun, 12 Feb 2017 18:59:10 +0100
parents 1d3f73e065e1
children 61128d260eef
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
35 35
36 import random 36 import random
37 37
38 38
39 PLUGIN_INFO = { 39 PLUGIN_INFO = {
40 "name": "Account Plugin", 40 C.PI_NAME: "Account Plugin",
41 "import_name": "MISC-ACCOUNT", 41 C.PI_IMPORT_NAME: "MISC-ACCOUNT",
42 "type": "MISC", 42 C.PI_TYPE: "MISC",
43 "protocols": [], 43 C.PI_PROTOCOLS: [],
44 "dependencies": [], 44 C.PI_DEPENDENCIES: [],
45 "recommendations": ['GROUPBLOG'], 45 C.PI_RECOMMENDATIONS: ['GROUPBLOG'],
46 "main": "MiscAccount", 46 C.PI_MAIN: "MiscAccount",
47 "handler": "no", 47 C.PI_HANDLER: "no",
48 "description": _(u"""SàT account creation""") 48 C.PI_DESCRIPTION: _(u"""SàT account creation""")
49 } 49 }
50 50
51 CONFIG_SECTION = "plugin account" 51 CONFIG_SECTION = "plugin account"
52 52
53 # You need do adapt the following consts to your server 53 # You need do adapt the following consts to your server