https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18725

--- Comment #23 from Jonathan Druart <[email protected]> 
---
I do not understand the trick:

1065         # If this fails the database is unwritable and we won't manage to
send a message that continues to be marked 'pending'
1066         $message_object->status('processing'); # enum: same as empty
string
1067         return unless $message_object->store();
1068         $message_object->status('pending')->store;

Why not simply:

  return unless $message_object->status('pending')->store;

?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to