Skip to content

Commit

Permalink
Issue Gizra#195 by andrewbelcher: Fix return of message_get_purgeable…
Browse files Browse the repository at this point in the history
…_by_type()
  • Loading branch information
andrewbelcher authored Jun 29, 2017
1 parent 47a3d31 commit c527dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message.module
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ function _message_delete_messages($field_names, $entity_id, $last_mid = 0, $rang
*/
function message_get_purgeable_by_type(&$purge_limit, $message_type_name, $purge_settings) {
if ($purge_limit <= 0) {
return;
return array();
}

// Messages to be deleted.
Expand Down

0 comments on commit c527dfe

Please sign in to comment.