File tree Expand file tree Collapse file tree
app/Domains/RaiseAConcern Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55use Illuminate \Support \Facades \Http ;
66
7+ /**
8+ * @deprecated
9+ */
710class ScrapeWebsitePolicies
811{
912 public function __construct (public string $ site )
Original file line number Diff line number Diff line change 55use App \Domains \RaiseAConcern \Actions \ScrapeWebsitePolicies ;
66use Illuminate \Support \Facades \Cache ;
77
8+ /**
9+ * @deprecated
10+ */
811enum SafeguardingLink
912{
1013 case SeniorSchool;
@@ -29,7 +32,8 @@ public function getUrl(): string
2932 if (config ("services.policies. {$ this ->getKey ()}" , 'unkonwn ' )) {
3033 return config ("services.policies. {$ this ->getKey ()}" , 'unkonwn ' );
3134 }
32- Cache::forget ('safeguarding_policy_link_ ' .$ domain );
35+ Cache::forget ('safeguarding_policy_link_ ' .$ domain );
36+
3337 // Use caching to avoid repeated requests for the same domain.
3438 return Cache::remember (
3539 'safeguarding_policy_link_ ' .$ domain ,
You can’t perform that action at this time.
0 commit comments