projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d698aa
)
Beatnik: No more PEAR_Error
author
Ben Klang
<ben@alkaloid.net>
Tue, 25 May 2010 18:03:57 +0000
(14:03 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Tue, 25 May 2010 18:03:57 +0000
(14:03 -0400)
beatnik/lib/Beatnik.php
patch
|
blob
|
history
diff --git
a/beatnik/lib/Beatnik.php
b/beatnik/lib/Beatnik.php
index
f81d559
..
191983b
100644
(file)
--- a/
beatnik/lib/Beatnik.php
+++ b/
beatnik/lib/Beatnik.php
@@
-566,7
+566,7
@@
class Beatnik {
try {
$result = $beatnik->driver->saveRecord(array_merge($defaults, $info));
} catch (Exception $e) {
- $GLOBALS['notification']->push($
result->getMessage() . ': ' . $result
->getDebugInfo(), 'horde.error');
+ $GLOBALS['notification']->push($
e->getMessage() . ': ' . $e
->getDebugInfo(), 'horde.error');
}
$GLOBALS['notification']->push(sprintf(_('Record added: %s/%s'), $rectype, $info['hostname']), 'horde.success');
}