public static function markSend($key) { return ipDb()->update('email_queue', array('send' => date('Y-m-d H:i:s')), array('lock' => $key)); }