Project

General

Profile

Actions

Bug #1569

closed

Extra image files are not purged when user is removed from backend

Added by nant almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
04 March 2010
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

Test case:

uploaded a main profile avatar image and also uploaded an extra profile image.

4 files were created in the images/comprofiler folder.

When I remove the user from CB User backend the 2 extra image files are not removed.


Files

1569.patch (1.94 KB) 1569.patch krileon, 10 June 2010 19:18
Actions #1

Updated by beat almost 15 years ago

  • Target version changed from CB 1.2.2 to CB 1.2.3
Actions #2

Updated by beat over 14 years ago

  • Target version deleted (CB 1.2.3)
Actions #3

Updated by beat over 14 years ago

  • Assignee set to krileon
Actions #4

Updated by beat over 14 years ago

  • Target version set to CB 1.2.3
Actions #5

Updated by krileon over 14 years ago

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

Added new function to check for and delete image fieldtypes (avatar is excluded).

Actions #6

Updated by beat over 14 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 80 to 100
  • Estimated time set to 1:00 h

Commit r1081 fixes this bug by using that proposed function, but as an event inside the image field type in cb.core.php plugin instead of the general comprofiler.class.php. Thanks Kyle.

Actions

Also available in: Atom PDF