Update function names and calls

update function names and calls from other files
This commit is contained in:
Adam Magness 2018-02-05 07:47:06 -05:00
commit 7ffcb25321
7 changed files with 30 additions and 26 deletions

View file

@ -1,8 +1,11 @@
<?php
/**
* @file mod/starred.php
*/
use Friendica\App;
use Friendica\Core\System;
use Friendica\Database\DBM;
use Friendica\Model\Item;
function starred_init(App $a) {
@ -38,7 +41,7 @@ function starred_init(App $a) {
intval($message_id)
);
update_thread($message_id);
Item::updateThread($message_id);
// See if we've been passed a return path to redirect to
$return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');