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

@@ 3147-3149 (lines=3) @@
3144
        }
3145
3146
        $limitCondition = null;
3147
        if (!empty($start) && !empty($limit)) {
3148
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3149
        }
3150
3151
        $keywordCondition = null;
3152