From 4e005fd22ad1829bafd9cbc1f037fdd6c28427a8 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Thu, 30 Sep 2010 16:05:07 +0000 Subject: [PATCH] More updating to drupal coding standards. git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@207 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- sites/all/modules/unl/unl_loader.php | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/sites/all/modules/unl/unl_loader.php b/sites/all/modules/unl/unl_loader.php index d4e4917b..f2fbea90 100644 --- a/sites/all/modules/unl/unl_loader.php +++ b/sites/all/modules/unl/unl_loader.php @@ -1,16 +1,15 @@ <?php -function unl_load_zend_framework() -{ - static $isLoaded = FALSE; - - if ($isLoaded) { - return; - } - - set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../../libraries' ); - require_once 'Zend/Loader/Autoloader.php'; - $autoloader = Zend_Loader_Autoloader::getInstance(); - $autoloader->registerNamespace('Unl_'); - $isLoaded = TRUE; +function unl_load_zend_framework() { + static $isLoaded = FALSE; + + if ($isLoaded) { + return; + } + + set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../../libraries'); + require_once 'Zend/Loader/Autoloader.php'; + $autoloader = Zend_Loader_Autoloader::getInstance(); + $autoloader->registerNamespace('Unl_'); + $isLoaded = TRUE; } -- GitLab