瀏覽代碼

Removed unused preferences.

Tatsuhiro Tsujikawa 14 年之前
父節點
當前提交
3fe4e84443
共有 3 個文件被更改,包括 0 次插入37 次删除
  1. 0 12
      src/prefs.cc
  2. 0 12
      src/prefs.h
  3. 0 13
      src/usage_text.h

+ 0 - 12
src/prefs.cc

@@ -171,18 +171,6 @@ const std::string PREF_RPC_LISTEN_ALL("rpc-listen-all");
 // value: true | false
 const std::string PREF_RPC_ALLOW_ORIGIN_ALL("rpc-allow-origin-all");
 // value: true | false
-const std::string PREF_ENABLE_XML_RPC("enable-xml-rpc");
-// value: 1*digit
-const std::string PREF_XML_RPC_LISTEN_PORT("xml-rpc-listen-port");
-// value: string
-const std::string PREF_XML_RPC_USER("xml-rpc-user");
-// value: string
-const std::string PREF_XML_RPC_PASSWD("xml-rpc-passwd");
-// value: 1*digit
-const std::string PREF_XML_RPC_MAX_REQUEST_SIZE("xml-rpc-max-request-size");
-// value: true | false
-const std::string PREF_XML_RPC_LISTEN_ALL("xml-rpc-listen-all");
-// value: true | false
 const std::string PREF_DRY_RUN("dry-run");
 // value: true | false
 const std::string PREF_REUSE_URI("reuse-uri");

+ 0 - 12
src/prefs.h

@@ -174,18 +174,6 @@ extern const std::string PREF_RPC_LISTEN_ALL;
 // value: true | false
 extern const std::string PREF_RPC_ALLOW_ORIGIN_ALL;
 // value: true | false
-extern const std::string PREF_ENABLE_XML_RPC;
-// value: 1*digit
-extern const std::string PREF_XML_RPC_LISTEN_PORT;
-// value: string
-extern const std::string PREF_XML_RPC_USER;
-// value: string
-extern const std::string PREF_XML_RPC_PASSWD;
-// value: 1*digit
-extern const std::string PREF_XML_RPC_MAX_REQUEST_SIZE;
-// value: true | false
-extern const std::string PREF_XML_RPC_LISTEN_ALL;
-// value: true | false
 extern const std::string PREF_DRY_RUN;
 // value: true | false
 extern const std::string PREF_REUSE_URI;

+ 0 - 13
src/usage_text.h

@@ -771,19 +771,6 @@
 #define TEXT_RPC_LISTEN_PORT                                        \
   _(" --rpc-listen-port=PORT       Specify a port number for JSON-RPC/XML-RPC server\n" \
     "                              to listen to.")
-#define TEXT_ENABLE_XML_RPC                                             \
-  _(" --enable-xml-rpc[=true|false] Deprecated. Use --enable-rpc instead.")
-#define TEXT_XML_RPC_MAX_REQUEST_SIZE                                   \
-  _(" --xml-rpc-max-request-size=SIZE Deprecated. Use --rpc-max-request-size\n" \
-    "                              instead.")
-#define TEXT_XML_RPC_USER                               \
-  _(" --xml-rpc-user=USER          Deprecated. Use --rpc-user instead.")
-#define TEXT_XML_RPC_PASSWD                                     \
-  _(" --xml-rpc-passwd=PASSWD      Deprecated. Use --rpc-passwd instead.")
-#define TEXT_XML_RPC_LISTEN_ALL                                         \
-  _(" --xml-rpc-listen-all[=true|false] Deprecated. Use --rpc-listen-all instead.")
-#define TEXT_XML_RPC_LISTEN_PORT                                        \
-  _(" --xml-rpc-listen-port=PORT   Deprecated. Use --rpc-listen-port instead.")
 #define TEXT_SHOW_CONSOLE_READOUT                                       \
   _(" --show-console-readout[=true|false] Show console readout.")
 #define TEXT_METALINK_BASE_URI                  \