openid removed
This commit is contained in:
@@ -10,10 +10,6 @@ extern BOOL bVisibleNotice = true;
|
||||
extern BOOL bTestServerFlag = FALSE;
|
||||
extern int TWOHANDED_WEWAPON_ATT_SPEED_DECREASE_VALUE = 0;
|
||||
|
||||
#ifdef USE_OPENID
|
||||
extern int openid_test;
|
||||
#endif
|
||||
|
||||
PyObject* appShowWebPage(PyObject* poSelf, PyObject* poArgs)
|
||||
{
|
||||
char* szWebPage;
|
||||
@@ -1497,14 +1493,6 @@ void initapp()
|
||||
PyModule_AddIntConstant(poModule, "ENABLE_NEW_EQUIPMENT_SYSTEM", 0);
|
||||
#endif
|
||||
|
||||
#ifdef USE_OPENID
|
||||
PyModule_AddIntConstant(poModule, "USE_OPENID", 1);
|
||||
if (openid_test)
|
||||
PyModule_AddIntConstant(poModule, "OPENID_TEST", 1);
|
||||
else
|
||||
PyModule_AddIntConstant(poModule, "OPENID_TEST", 0);
|
||||
#else
|
||||
PyModule_AddIntConstant(poModule, "USE_OPENID", 0);
|
||||
PyModule_AddIntConstant(poModule, "OPENID_TEST", 0);
|
||||
#endif /* USE_OPENID */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user