From 8ccac092686a817b86f87a003667628bfbdfc24e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 18 Apr 2017 15:52:45 +0200 Subject: [locations] Make Location::getTree() public --- modules-available/locations/inc/location.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/locations') diff --git a/modules-available/locations/inc/location.inc.php b/modules-available/locations/inc/location.inc.php index a64f5c79..7ac76b3e 100644 --- a/modules-available/locations/inc/location.inc.php +++ b/modules-available/locations/inc/location.inc.php @@ -8,7 +8,7 @@ class Location private static $treeCache = false; private static $subnetMapCache = false; - private static function getTree() + public static function getTree() { if (self::$treeCache === false) { self::$treeCache = self::queryLocations(); -- cgit v1.2.3-55-g7522