Project

General

Profile

Feature proposal #3373 ยป 3373.patch

krileon, 10 April 2012 17:08

View differences:

components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php
if ( ( $col == 'avatar' ) && ( $ueConfig['avatarUploadApproval'] == 1 ) && ( $isModerator == 0 ) ) {
$cbNotification = new cbNotification();
$cbNotification->sendToModerators( _UE_IMAGE_ADMIN_SUB, _UE_IMAGE_ADMIN_MSG );
$cbNotification->sendToModerators( cbReplaceVars( _UE_IMAGE_ADMIN_SUB, $user ), cbReplaceVars( _UE_IMAGE_ADMIN_MSG, $user ) );
$user->$col = $newFileName;
$user->$colapproved = 0;
    (1-1/1)