fix after upstream merge

This commit is contained in:
Alex Lushpai 2016-03-15 13:02:31 +03:00
commit f21576b2c2
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@ class Container
); );
$this->db->exec("set names utf8"); $this->db->exec("set names utf8");
$this->db->exec("set global group_concat_max_len = 1000000");
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING); $this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
} catch (PDOException $e) { } catch (PDOException $e) {
CommandHelper::activateNotice('database'); CommandHelper::activateNotice('database');

View File

@ -380,7 +380,7 @@ class Server
public function getMessageByUid($uid) public function getMessageByUid($uid)
{ {
try { try {
$message = new Fetch\Message($uid, $this); $message = new Message($uid, $this);
return $message; return $message;
} catch (\Exception $e) { } catch (\Exception $e) {