From 58638c142ed2254ab652093fe6156f97529f9a43 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 12 Jan 2009 05:08:21 +0000 Subject: [PATCH] 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 --- core/i18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/i18n.php b/core/i18n.php index 8f37ab0b6..431a0527f 100755 --- a/core/i18n.php +++ b/core/i18n.php @@ -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)])));