mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
Merge pull request #4403 from MrPetovan/develop
Missing dba::selectFirst in Model\Item
This commit is contained in:
commit
c8cc7f13f1
1 changed files with 1 additions and 2 deletions
|
@ -1963,8 +1963,7 @@ EOT;
|
||||||
|
|
||||||
public static function deleteThread($itemid, $itemuri = "")
|
public static function deleteThread($itemid, $itemuri = "")
|
||||||
{
|
{
|
||||||
$item = dba::select('thread', ['uid'], ['iid' => $itemid]);
|
$item = dba::selectFirst('thread', ['uid'], ['iid' => $itemid]);
|
||||||
|
|
||||||
if (!DBM::is_result($item)) {
|
if (!DBM::is_result($item)) {
|
||||||
logger('No thread found for id '.$itemid, LOGGER_DEBUG);
|
logger('No thread found for id '.$itemid, LOGGER_DEBUG);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue