Moves the function "is_result" from dba to dbm.

This commit is contained in:
Michael Vogel 2016-07-02 14:00:42 +02:00
commit e4c6cfd2d8
11 changed files with 30 additions and 40 deletions

View file

@ -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;
}