Skip to content

Commit

Permalink
Fix constant name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 11, 2013
1 parent 45464cd commit ae6d6fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/Core/lib/Horde/Core/ActiveSync/Connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ public function createFolder($class, $foldername)
if ($prefs->getValue('activesync_multiplex')) {
throw new Horde_ActiveSync_Exception(
'Creating new collections not supported with multiplexed collections',
Horde_ActiveSync::UNSUPPORTED
Horde_ActiveSync_Exception::UNSUPPORTED
);
}

Expand Down Expand Up @@ -1037,7 +1037,7 @@ public function changeFolder($class, $id, $name)
if ($prefs->getValue('activesync_multiplex')) {
throw new Horde_ActiveSync_Exception(
'Updating new collections not supported with multiplexed collections',
Horde_ActiveSync::UNSUPPORTED
Horde_ActiveSync_Exception::UNSUPPORTED
);
}

Expand All @@ -1064,7 +1064,7 @@ public function changeFolder($class, $id, $name)
if (!$registry->hasMethod('contacts/updateAddressbook')) {
throw new Horde_ActiveSync_Exception(
'Updating addressbooks not supported by the contacts API.',
Horde_ActiveSync::UNSUPPORTED
Horde_ActiveSync_Exception::UNSUPPORTED
);
}
$registry->contacts->updateAddressbook($id, array('name' => $name));
Expand All @@ -1075,7 +1075,7 @@ public function changeFolder($class, $id, $name)
if (!$registry->hasMethod('notes/updateNotepad')) {
throw new Horde_ActiveSync_Exception(
'Updating notepads not supported by the notes API.',
Horde_ActiveSync::UNSUPPORTED
Horde_ActiveSync_Exception::UNSUPPORTED
);
}
$registry->notes->updateNotepad($id, array('name' => $name));
Expand Down

0 comments on commit ae6d6fe

Please sign in to comment.