Remove CInterface script hooks, superseded by console refactor

This commit is contained in:
Lukas Aldershaab 2023-09-27 20:21:28 +02:00 committed by Brian Roberts
parent a4e3a000fb
commit 5615cc33d8
7 changed files with 0 additions and 219 deletions

View file

@ -30,7 +30,6 @@
#endif
#include "script.h"
#include "cinterface/cinterface.h"
#include "core/strings/findMatch.h"
#include "core/strings/stringUnit.h"
#include "core/strings/unicode.h"
@ -2407,10 +2406,6 @@ DefineEngineFunction( isMethod, bool, ( const char* nameSpace, const char* metho
"@return True if the method exists, false if not\n"
"@ingroup Scripting\n")
{
if (CInterface::isMethod(nameSpace, method)) {
return true;
}
Namespace* ns = Namespace::find( StringTable->insert( nameSpace ) );
Namespace::Entry* nse = ns->lookup( StringTable->insert( method ) );
if( !nse )