Moves the function "is_result" from dba to dbm.
This commit is contained in:
parent
91e20f2f9b
commit
e4c6cfd2d8
11 changed files with 30 additions and 40 deletions
|
|
@ -373,13 +373,13 @@ function message_content(&$a) {
|
|||
intval(local_user())
|
||||
);
|
||||
|
||||
if (dba::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
$a->set_pager_total($r[0]['total']);
|
||||
}
|
||||
|
||||
$r = get_messages(local_user(), $a->pager['start'], $a->pager['itemspage']);
|
||||
|
||||
if(! dba::is_result($r)) {
|
||||
if(! dbm::is_result($r)) {
|
||||
info( t('No messages.') . EOL);
|
||||
return $o;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue