Update functions and calls
Update function names and scope. update calls.
This commit is contained in:
parent
ac317060fb
commit
0f546f7f0f
20 changed files with 122 additions and 97 deletions
|
@ -3,6 +3,7 @@
|
|||
* @file mod/message.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Nav;
|
||||
use Friendica\Content\Smilies;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -92,7 +93,7 @@ function message_post(App $a)
|
|||
function message_content(App $a)
|
||||
{
|
||||
$o = '';
|
||||
nav_set_selected('messages');
|
||||
Nav::setSelected('messages');
|
||||
|
||||
if (!local_user()) {
|
||||
notice(t('Permission denied.') . EOL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue