Skip to content

Commit

Permalink
FIX: Adding a missing variable declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan authored Jan 23, 2019
1 parent d16af5e commit e9596fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function onAfterUnpublish()
if (!Cloudflare::config()->enabled) {
return;
}
Injector::inst()->get(Cloudflare::CLOUDFLARE_CLASS)->purgePage($this->owner);
$cloudflareResult = Injector::inst()->get(Cloudflare::CLOUDFLARE_CLASS)->purgePage($this->owner);
$this->addInformationToHeader($cloudflareResult);
}

Expand Down

0 comments on commit e9596fe

Please sign in to comment.