Issue 91: Create feature to disable a repo
This commit is contained in:
@@ -40,6 +40,8 @@ class IDF_Middleware_GoogleAds
|
||||
*/
|
||||
function process_response($request, $response)
|
||||
{
|
||||
if (isset($response) && !isset($response->status_code))
|
||||
return $response;
|
||||
if (!Pluf::f('google_ads', false)) {
|
||||
return $response;
|
||||
}
|
||||
|
Reference in New Issue
Block a user