diff src/server/server.py @ 696:c2f22ca12e23

browser and server side: remove unibox
author souliane <souliane@mailoo.org>
date Mon, 20 Apr 2015 08:51:25 +0200
parents 82123705474b
children 5319110a862c
line wrap: on
line diff
--- a/src/server/server.py	Sun Apr 19 13:10:41 2015 +0200
+++ b/src/server/server.py	Mon Apr 20 08:51:25 2015 +0200
@@ -838,22 +838,8 @@
 
     def jsonrpc_registerParams(self):
         """Register the frontend specific parameters"""
-        params = """
-        <params>
-        <individual>
-        <category name="%(category_name)s" label="%(category_label)s">
-            <param name="%(enable_unibox)s" label="%(enable_unibox_label)s" value="false" type="bool" security="0"/>
-         </category>
-        </individual>
-        </params>
-        """ % {
-            'category_name': C.COMPOSITION_KEY,
-            'category_label': _(C.COMPOSITION_KEY),
-            'enable_unibox': C.ENABLE_UNIBOX_PARAM,
-            'enable_unibox_label': _(C.ENABLE_UNIBOX_PARAM),
-        }
-
-        self.sat_host.bridge.paramsRegisterApp(params, C.SECURITY_LIMIT, C.APP_NAME)
+        # params = """<params><individual>...</category></individual>"""
+        # self.sat_host.bridge.paramsRegisterApp(params, C.SECURITY_LIMIT, C.APP_NAME)
 
     def jsonrpc_getMenus(self):
         """Return the parameters XML for profile"""