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

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