From: erickson Date: Fri, 4 Aug 2006 20:49:11 +0000 (+0000) Subject: returning SUCCESS on note-create to match other methods X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=45f095bb4000525c05c85b3bbd7f7af30e3f2d11;p=evergreen%2Fpines.git returning SUCCESS on note-create to match other methods git-svn-id: svn://svn.open-ils.org/ILS/trunk@5311 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm b/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm index 8e480611e8..62c22523d2 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm @@ -622,7 +622,7 @@ __PACKAGE__->register_method( 'return' => { desc => q/ - Returns '1' on success, event on error. + Returns SUCCESS event on success, error event otherwise. /, type => 'object' } @@ -650,7 +650,7 @@ sub create_user_note { $e->create_actor_usr_note($note) or return $e->event; $e->commit; - return 1; + return OpenILS::Event->new('SUCCESS'); }