- Added line number for error message

release-0.6
alecpl 14 years ago
parent 33da0b48b3
commit 13ffa2810e

@ -520,8 +520,11 @@ class rcmail
// support this parameter for backward compatibility but log warning // support this parameter for backward compatibility but log warning
if ($connect) { if ($connect) {
$this->imap_connect(); $this->imap_connect();
raise_error(array('code' => 800, 'type' => 'imap', 'file' => __FILE__, raise_error(array(
'message' => "rcube::imap_init(true) is deprecated, use rcube::imap_connect() instead"), true, false); 'code' => 800, 'type' => 'imap',
'file' => __FILE__, 'line' => __LINE__,
'message' => "rcube::imap_init(true) is deprecated, use rcube::imap_connect() instead"),
true, false);
} }
} }

Loading…
Cancel
Save