Merge branch 'master' of ssh://git.kolabsys.com/git/roundcube

This commit is contained in:
Thomas Bruederli 2012-06-06 10:24:42 +02:00
commit 435b94f8f6
4 changed files with 10 additions and 10 deletions

View file

@ -186,7 +186,7 @@ abstract class kolab_format
}
if ($log) {
raise_error(array(
rcube::raise_error(array(
'code' => 660,
'type' => 'php',
'file' => __FILE__,

View file

@ -249,7 +249,7 @@ abstract class kolab_format_xcal extends kolab_format
$attendees->push($att);
}
else {
raise_error(array(
rcube::raise_error(array(
'code' => 600, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => "Invalid event attendee: " . json_encode($attendee),
@ -316,7 +316,7 @@ abstract class kolab_format_xcal extends kolab_format
$this->obj->setExceptionDates($exdates);
}
else {
raise_error(array(
rcube::raise_error(array(
'code' => 600, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => "Invalid event recurrence rule: " . json_encode($object['recurrence']),

View file

@ -230,7 +230,7 @@ class kolab_storage_cache
);
if (!$this->db->affected_rows($result)) {
rcmail::raise_error(array(
rcube::raise_error(array(
'code' => 900, 'type' => 'php',
'message' => "Failed to write to kolab cache"
), true);
@ -551,7 +551,7 @@ class kolab_storage_cache
" VALUES $buffer"
);
if (!$this->db->affected_rows($result)) {
rcmail::raise_error(array(
rcube::raise_error(array(
'code' => 900, 'type' => 'php',
'message' => "Failed to write to kolab cache"
), true);

View file

@ -148,7 +148,7 @@ class kolab_storage_folder
switch ($info['namespace']) {
case 'personal':
$this->owner = $rcmail->user->get_username();
$this->owner = $rcmail->get_user_name();
break;
case 'shared':
@ -159,7 +159,7 @@ class kolab_storage_folder
$owner = '';
list($prefix, $user) = explode($this->imap->get_hierarchy_delimiter(), $info['name']);
if (strpos($user, '@') === false) {
$domain = strstr($rcmail->user->get_username(), '@');
$domain = strstr($rcmail->get_user_name(), '@');
if (!empty($domain))
$user .= $domain;
}
@ -422,7 +422,7 @@ class kolab_storage_folder
}
if (!$xml) {
raise_error(array(
rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__,
@ -470,7 +470,7 @@ class kolab_storage_folder
if (preg_match('!<uid>(.+)</uid>!Uims', $xml, $m))
$msgadd = " UID = " . trim(strip_tags($m[1]));
raise_error(array(
rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__,
@ -606,7 +606,7 @@ class kolab_storage_folder
return true;
}
else {
raise_error(array(
rcube::raise_error(array(
'code' => 600, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => "Failed to move message $msguid to $target_folder: " . $this->imap->get_error_str(),