summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/inc/common.php b/inc/common.php
index b6048825b..a1c4580a6 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -268,9 +268,6 @@ function breadcrumbs(){
global $ACT;
global $conf;
- // Prevent infinite loop later in this function
- if (!is_numeric($conf['breadcrumbs']) || $conf['breadcrumbs'] <= 0) return array();
-
//first visit?
$crumbs = isset($_SESSION[DOKU_COOKIE]['bc']) ? $_SESSION[DOKU_COOKIE]['bc'] : array();
//we only save on show and existing wiki documents