From 2ab805ebe60d173330f7e906d6b468d11a4d7436 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 23 Nov 2001 17:56:51 +0000 Subject: [PATCH] minor formatting --- phpgwapi/inc/class.applications.inc.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.applications.inc.php b/phpgwapi/inc/class.applications.inc.php index e02f30d9a4..e61edc23a1 100755 --- a/phpgwapi/inc/class.applications.inc.php +++ b/phpgwapi/inc/class.applications.inc.php @@ -99,7 +99,6 @@ */ function read_repository() { - global $phpgw, $phpgw_info; if (!isset($GLOBALS['phpgw_info']['apps']) || !is_array($GLOBALS['phpgw_info']['apps'])) { @@ -135,7 +134,10 @@ */ function read() { - if (count($this->data) == 0){ $this->read_repository(); } + if (count($this->data) == 0) + { + $this->read_repository(); + } reset($this->data); return $this->data; } @@ -213,7 +215,10 @@ reset($this->data); while($app = each($this->data)) { - if(!$this->is_system_enabled($app[0])) { continue; } + if(!$this->is_system_enabled($app[0])) + { + continue; + } $GLOBALS['phpgw']->acl->add_repository($app[0],'run',$this->account_id,1); } reset($this->data);