You are here

function devel_mail_logger_load in Devel Mail Logger 7

Loader function

Parameters

$id:

Return value

bool

File

./devel_mail_logger.module, line 112

Code

function devel_mail_logger_load($id) {
  $record = db_select('devel_mail_logger', 'dml')
    ->fields('dml')
    ->condition('id', $id)
    ->execute()
    ->fetchAllAssoc('id');
  return isset($record[$id]) ? $record[$id] : FALSE;
}