Code Duplication    Length = 11-11 lines in 2 locations

htdocs/lib2/logic/cachelog.class.php 1 location

@@ 338-348 (lines=11) @@
335
        return false;
336
    }
337
338
    public function allowEdit()
339
    {
340
        global $login;
341
342
        $login->verify();
343
        if ($this->getUserId() == $login->userid) {
344
            return true;
345
        }
346
347
        return false;
348
    }
349
350
    public function getValidLogTypes()
351
    {

htdocs/lib2/logic/cache.class.php 1 location

@@ 805-815 (lines=11) @@
802
        return false;
803
    }
804
805
    public function allowEdit()
806
    {
807
        global $login;
808
809
        $login->verify();
810
        if ($this->getUserId() == $login->userid) {
811
            return true;
812
        }
813
814
        return false;
815
    }
816
817
    public function allowLog()
818
    {