Project

General

Profile

Actions

Bug #2045

closed

Backend: onAfterUserApproval event only fires if user is approved (in frontend it also fires on rejection)

Added by krileon over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04 November 2010
Due date:
% Done:

100%

Estimated time:
0:30 h

Description

onAfterUserApproval is not firing if user is unapproved, etc.. it only fires if approved. Don't agree with this usage and is not consistent with frontend or onBlock twitter usage. Trigger should always be fired regardless of approval status (the trigger passes the approval status with it).

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,130/id,145413/#145413


Files

2045.patch (952 Bytes) 2045.patch krileon, 04 November 2010 19:06
Actions #1

Updated by krileon over 13 years ago

  • File 2045.patch 2045.patch added
  • Status changed from New to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 80

moved trigger to outside of IF statement to always fire in same consistency as frontend.

Actions #2

Updated by beat over 13 years ago

  • Subject changed from onAfterUserApproval only fires if user is approved to Backend: onAfterUserApproval event only fires if user is approved (in frontend it also fires on rejection)
  • Status changed from Resolved to Closed
  • % Done changed from 80 to 100
  • Estimated time set to 0:30 h

Fixed in r1256 .

Actions

Also available in: Atom PDF