Commit 7c470e09c1093c909b3ca1bd3c0eee743d07489f
1 parent
c7afde20
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
Showing
1 changed file
with
1 additions
and
4 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php
| ... | ... | @@ -40,10 +40,6 @@ require_once("$default->uiDirectory/documentmanagement/browseUI.inc"); |
| 40 | 40 | |
| 41 | 41 | // only if we have a valid session |
| 42 | 42 | if (checkSession()) { |
| 43 | - require_once("../../../../phpSniff/phpTimer.class.php"); | |
| 44 | - $timer = new phpTimer(); | |
| 45 | - $timer->start(); | |
| 46 | - | |
| 47 | 43 | // retrieve variables |
| 48 | 44 | if (!$fBrowseType) { |
| 49 | 45 | // required param not set- internal error or user querystring hacking |
| ... | ... | @@ -64,6 +60,7 @@ if (checkSession()) { |
| 64 | 60 | // fire up the document browser |
| 65 | 61 | //$oDocBrowser = new DocumentBrowser(); |
| 66 | 62 | $oBrowser = BrowserFactory::create($fBrowseType, $fSortBy, $fSortDirection); |
| 63 | + $sectionName = $oBrowser->getSectionName(); | |
| 67 | 64 | |
| 68 | 65 | // instantiate my content pattern |
| 69 | 66 | $oContent = new PatternCustom(); | ... | ... |