1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-23 09:22:19 -05:00

Database: removed getChannels() - Use getChannelsByServer()

This commit is contained in:
Sebastian Kaspari 2010-04-11 22:09:37 +02:00
parent f5294f2d86
commit 4c01a9e975

View File

@ -307,26 +307,6 @@ public class Database extends SQLiteOpenHelper
); );
} }
/**
* Get all (auto-join) channels of a server
*
* @return
*/
public Cursor getChannels(int serverId)
{
// XXX: Should no return a cursor but the populated objects
return this.getReadableDatabase().query(
ChannelConstants.TABLE_NAME,
ChannelConstants.ALL,
null,
null,
null,
null,
ChannelConstants.NAME + " ASC"
);
}
/** /**
* Get all channels of server * Get all channels of server
* *