Fixing repository calls

parent f592b7cc
......@@ -99,7 +99,7 @@ class CachePageDecorator extends BaseCacheDecorator implements PageRepository
{
$this->clearCache();
$this->markAsOnlineInAllLocales($pageId);
return $this->repository->markAsOnlineInAllLocales($pageId);
}
/**
......@@ -110,6 +110,6 @@ class CachePageDecorator extends BaseCacheDecorator implements PageRepository
{
$this->clearCache();
$this->markAsOfflineInAllLocales($pageId);
return $this->repository->markAsOfflineInAllLocales($pageId);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment