Commit c4a81fcebebc32d3ab7202ac5c533b2a32705b9c

Authored by Michael Joseph
1 parent 4e39a357

commented out timing code

use getSectionName method (sidebar link hack)


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1892 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php
@@ -40,10 +40,6 @@ require_once("$default->uiDirectory/documentmanagement/browseUI.inc"); @@ -40,10 +40,6 @@ require_once("$default->uiDirectory/documentmanagement/browseUI.inc");
40 40
41 // only if we have a valid session 41 // only if we have a valid session
42 if (checkSession()) { 42 if (checkSession()) {
43 - require_once("../../../../phpSniff/phpTimer.class.php");  
44 - $timer = new phpTimer();  
45 - $timer->start();  
46 -  
47 // retrieve variables 43 // retrieve variables
48 if (!$fBrowseType) { 44 if (!$fBrowseType) {
49 // required param not set- internal error or user querystring hacking 45 // required param not set- internal error or user querystring hacking
@@ -64,6 +60,7 @@ if (checkSession()) { @@ -64,6 +60,7 @@ if (checkSession()) {
64 // fire up the document browser 60 // fire up the document browser
65 //$oDocBrowser = new DocumentBrowser(); 61 //$oDocBrowser = new DocumentBrowser();
66 $oBrowser = BrowserFactory::create($fBrowseType, $fSortBy, $fSortDirection); 62 $oBrowser = BrowserFactory::create($fBrowseType, $fSortBy, $fSortDirection);
  63 + $sectionName = $oBrowser->getSectionName();
67 64
68 // instantiate my content pattern 65 // instantiate my content pattern
69 $oContent = new PatternCustom(); 66 $oContent = new PatternCustom();