Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 3245-3247 (lines=3) @@
3242
        }
3243
3244
        $limitCondition = null;
3245
        if (!empty($start) && !empty($limit)) {
3246
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3247
        }
3248
3249
        if (empty($orderCondition)) {
3250
            $orderCondition = " ORDER BY s.name ";

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

@@ 3237-3239 (lines=3) @@
3234
        }
3235
3236
        $limitCondition = null;
3237
        if (!empty($start) && !empty($limit)) {
3238
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3239
        }
3240
3241
        $keywordCondition = null;
3242