+ if (check_value('del_coy_logo'))
+ {
+ $user_comp = user_company();
+ $filename = $comp_path . "/$user_comp/images/".$_POST['coy_logo'];
+ if (file_exists($filename))
+ {
+ $result = unlink($filename);
+ if (!$result)
+ {
+ display_error(_('The existing image could not be removed'));
+ $input_error = 1;
+ }
+ else
+ $_POST['coy_logo'] = "";
+ }
+ }