Closed (fixed)
Project:
Cloudflare Stream
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2021 at 07:25 UTC
Updated:
11 Oct 2021 at 10:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pjbaertI added the debug checks on the
preSaveanddeleteCloudflareVideofunction.Please review.
Comment #3
pjbaertAdded a extra comment that explains the debug check.
Comment #4
tim-dielsThis is not needed as the config is already loaded on line +-100
$this->configFactory = $config_factory->get('cloudflare_stream.settings');Should we maybe refactor this in a service so we could for example do
$this->CloudflareStream->debugEnabled()?Comment #5
pjbaertThanks for your review. I agree with the feedback & the service suggestion. I'll try to rework this.
Comment #6
pjbaertupdated issue summary
Comment #7
pjbaert>This is not needed as the config is already loaded on line +-100 $this->configFactory = $config_factory->get('cloudflare_stream.settings');
This was fixed in this patch.
>Should we maybe refactor this in a service so we could for example do $this->CloudflareStream->debugEnabled()?
Great suggestion, let's fix this in #3239401: Create a Cloudflare Stream Service
Comment #8
tim-dielsThanks for the cleanup and creation of the new issue to make a service!
Comment #10
pjbaertThanks for the review. This was pushed to the 2.x branch!
Comment #11
pjbaert