Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 3092-3094 (lines=3) @@
3089
        }
3090
3091
        $limitCondition = null;
3092
        if (!empty($start) && !empty($limit)) {
3093
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3094
        }
3095
3096
        if (empty($orderCondition)) {
3097
            $orderCondition = " ORDER BY s.name ";

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

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