mirror of https://github.com/BOINC/boinc.git
Added a function to get a post from its ID.
svn path=/trunk/boinc/; revision=1738
This commit is contained in:
parent
a48da07dfd
commit
ffdc68c53c
|
@ -202,4 +202,8 @@ function getThread($threadID) {
|
|||
return getNextThread(sql_query($sql));
|
||||
}
|
||||
|
||||
function getPost($postID) {
|
||||
$sql = "SELECT * FROM post WHERE id = ".$postID;
|
||||
return getNextPost(sql_query($sql));
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue