MINOR Changed visibility of i18n::get_owner_module() to public (used in CMSMenu class)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@70015 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-01-12 05:08:21 +00:00
parent 6f6e72135c
commit 58638c142e

View File

@ -967,7 +967,7 @@ class i18n extends Object {
* @param string $name php class name or template file name
* @return string Module where the file is located
*/
protected static function get_owner_module($name) {
public static function get_owner_module($name) {
if (substr($name,-3) == '.ss') {
global $_TEMPLATE_MANIFEST;
$path = str_replace('\\','/',Director::makeRelative(current($_TEMPLATE_MANIFEST[substr($name,0,-3)])));