namespace error
This commit is contained in:
parent
fb3f63bf59
commit
051759580d
@ -33,7 +33,7 @@ class Conversations {
|
||||
require_once('include/message.php');
|
||||
|
||||
// private_messages_list() can do other more complicated stuff, for now keep it simple
|
||||
$r = private_messages_list(local_channel(), $mailbox, App::$pager['start'], App::$pager['itemspage']);
|
||||
$r = private_messages_list(local_channel(), $mailbox, \App::$pager['start'], \App::$pager['itemspage']);
|
||||
|
||||
if(! $r) {
|
||||
info( t('No messages.') . EOL);
|
||||
|
@ -528,12 +528,10 @@ function get_item_elements($x,$allow_code = false) {
|
||||
|
||||
$arr = array();
|
||||
|
||||
$key = get_config('system','pubkey');
|
||||
$arr['body'] = $x['body'];
|
||||
|
||||
$maxlen = get_max_import_size();
|
||||
|
||||
$arr['body'] = $x['body'];
|
||||
|
||||
if($maxlen && mb_strlen($arr['body']) > $maxlen) {
|
||||
$arr['body'] = mb_substr($arr['body'],0,$maxlen,'UTF-8');
|
||||
logger('get_item_elements: message length exceeds max_import_size: truncated');
|
||||
|
Reference in New Issue
Block a user