Code Duplication    Length = 3-3 lines in 2 locations

main/inc/lib/sessionmanager.lib.php 1 location

@@ 3079-3081 (lines=3) @@
3076
        }
3077
3078
        $limitCondition = null;
3079
        if (!empty($start) && !empty($limit)) {
3080
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3081
        }
3082
3083
        if (empty($orderCondition)) {
3084
            $orderCondition = " ORDER BY s.name ";

main/inc/lib/tracking.lib.php 1 location

@@ 3098-3100 (lines=3) @@
3095
        }
3096
3097
        $limitCondition = null;
3098
        if (!empty($start) && !empty($limit)) {
3099
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3100
        }
3101
3102
        $keywordCondition = null;
3103