app/Api/V1/Controllers/PictureController.php
/**
     * delete old pictures that are not attached
     */
delete old pictures that are not attached
delete old pictures that are not attached
public function deleteOldPictures(Request $request)
    {
        $oldPictures = Picture::getOldPictures();
    }
public function deleteOldPictures ( Request $ request ) { $ oldPictures = Picture :: getOldPictures ( ) ; }
delete old pictures that are not attached
delete old pictures that are not attached