projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e649acf
)
The only expected exception here would be a Horde_Exception_Not_Found.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 7 Jul 2010 22:48:20 +0000
(18:48 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 7 Jul 2010 22:48:20 +0000
(18:48 -0400)
Any other exception should be an error.
kronolith/lib/Api.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Api.php
b/kronolith/lib/Api.php
index
3a62929
..
351cbb4
100644
(file)
--- a/
kronolith/lib/Api.php
+++ b/
kronolith/lib/Api.php
@@
-353,8
+353,7
@@
class Kronolith_Api extends Horde_Registry_Api
// Don't change creator/owner.
$event->creator = $existing_event->creator;
- } catch (Kronolith_Exception $e) {
- }
+ } catch (Horde_Exception_NotFound $e) {}
// Save entry.
$saved = $event->save();