Better check for Diaspora accounts so you can connect them from the /suggest page.

This commit is contained in:
Michael Vogel 2015-01-06 12:31:44 +01:00
parent 5684ba4442
commit a2a393a3c6
3 changed files with 12 additions and 1 deletions

View file

@ -153,6 +153,8 @@ function delete_thread_uri($itemuri, $uid) {
}
function delete_thread($itemid) {
// To-Do:
// There is no "uri" in the thread table ...
$item = q("SELECT `uri`, `uid` FROM `thread` WHERE `iid` = %d", intval($itemid));
$result = q("DELETE FROM `thread` WHERE `iid` = %d", intval($itemid));