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

@@ 3187-3189 (lines=3) @@
3184
        }
3185
3186
        $limitCondition = null;
3187
        if (!empty($start) && !empty($limit)) {
3188
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3189
        }
3190
3191
        $keywordCondition = null;
3192