Feature proposal #3373 ยป 3373.patch
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;
|