remove obsolete HOOKS->Log
This commit is contained in:
@@ -240,9 +240,6 @@ void RageLog::Write( int where, const CString &line )
|
||||
if( where&WRITE_TO_INFO && g_fileInfo.IsOpen() )
|
||||
g_fileInfo.PutLine( str );
|
||||
|
||||
if( HOOKS )
|
||||
HOOKS->Log( str, where & WRITE_TO_INFO );
|
||||
|
||||
if( where & WRITE_TO_INFO )
|
||||
AddToInfo( str );
|
||||
AddToRecentLogs( str );
|
||||
|
||||
@@ -22,9 +22,6 @@ protected:
|
||||
void IgnoreMessage( CString ID );
|
||||
|
||||
public:
|
||||
/* This receives all logs. 'important' is set for Warn and Info. */
|
||||
virtual void Log(CString str, bool important) { }
|
||||
|
||||
/* This is called as soon as SDL is set up, the loading window is shown
|
||||
* and we can safely log and throw. */
|
||||
virtual void DumpDebugInfo() { }
|
||||
|
||||
Reference in New Issue
Block a user