mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 11:06:00 +02:00
Merge pull request #93 from creative-commoners/pulls/5/protect-hooks
API Set extension hook implementation visibility to protected
This commit is contained in:
commit
dcdb17f631
@ -116,7 +116,7 @@ class FileTextExtractable extends DataExtension
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function onBeforeWrite()
|
||||
protected function onBeforeWrite()
|
||||
{
|
||||
// Clear cache before changing file
|
||||
$this->getTextCache()->invalidate($this->owner);
|
||||
|
Loading…
Reference in New Issue
Block a user