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

@@ 3230-3232 (lines=3) @@
3227
        }
3228
3229
        $limitCondition = null;
3230
        if (!empty($start) && !empty($limit)) {
3231
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3232
        }
3233
3234
        $keywordCondition = null;
3235