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:
parent
f5294f2d86
commit
4c01a9e975
@ -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
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user