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

@@ 850-860 (lines=11) @@
847
        return false;
848
    }
849
850
    public function allowEdit()
851
    {
852
        global $login;
853
854
        $login->verify();
855
        if ($this->getUserId() == $login->userid) {
856
            return true;
857
        }
858
859
        return false;
860
    }
861
862
    public function allowLog()
863
    {