JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "DeleteTrackingPixels.php"

Full Path: /home/markqprx/iniasli.pro/app-20260222054640/Actions/TrackingPixel/DeleteTrackingPixels.php
File size: 389 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace App\Actions\TrackingPixel;

use App\Models\TrackingPixel;
use DB;

class DeleteTrackingPixels
{
    public function execute($pixelIds)
    {
        TrackingPixel::whereIn('id', $pixelIds)->delete();

        // detach deleted pixels from links
        DB::table('link_tracking_pixel')
            ->whereIn('tracking_pixel_id', $pixelIds)
            ->delete();
    }
}