From d070cd46abde178dc31632cf0b49a5477af7f02b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 14 Aug 2007 03:49:10 +0000 Subject: [PATCH] Fixing a call to BSApp::GetType() that no longer exists * App.php: (BSApp::RequiredModules) --- App.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/App.php b/App.php index 37cc070..b4c3c9b 100644 --- a/App.php +++ b/App.php @@ -346,14 +346,12 @@ class BSApp { foreach ($modules AS $module) { - if (self::GetType($module) == null AND !class_exists("BS$module")) + if (self::Registry()->getType($module) == null AND !class_exists("BS$module")) { throw new Exception('The ' . $module . ' module is required in order to use this framework module'); } } - } - - + } } /** -- 2.43.5