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

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