Merge pull request #873 from ajshort/pull-2

Add an extension hook for customising site tree hints.
This commit is contained in:
Ingo Schommer 2013-10-10 09:23:03 -07:00
commit c8dc9a9377

View File

@ -446,6 +446,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
}
}
$this->extend('updateSiteTreeHints', $def);
$json = Convert::raw2json($def);
$cache->save($json, $cacheKey);
}