Changeset 9 for trunk/bp_xprofile.php
- Timestamp:
- 04/03/2008 10:30:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp_xprofile.php
r6 r9 380 380 { 381 381 $picture = new BP_XProfile_Picture($_GET['file']); 382 382 383 383 if(!$picture->delete()) 384 384 { … … 386 386 $type = 'error'; 387 387 } 388 else 389 { 390 $thumbnail = new BP_XProfile_Picture($picture->thumb_filename); 391 $thumbnail->delete(); 392 393 $message = __('Profile picture deleted.'); 394 $type = 'success'; 395 } 396 } 397 } 398 388 } 389 } 390 399 391 $current = BP_XProfile_Picture::get_current(); 400 392 $current_thumbnail = new BP_XProfile_Picture($current['thumbnail']);
Note: See TracChangeset
for help on using the changeset viewer.