Code Duplication    Length = 3-3 lines in 2 locations

application/modules/mod_link/models/Base/PageLinkProduct.php 1 location

@@ 452-454 (lines=3) @@
449
     */
450
    public function ensureConsistency()
451
    {
452
        if ($this->aPageLink !== null && $this->link_id !== $this->aPageLink->getId()) {
453
            $this->aPageLink = null;
454
        }
455
    } // ensureConsistency
456
457
    /**

application/modules/mod_link/models/Base/PageLinkProducts.php 1 location

@@ 452-454 (lines=3) @@
449
     */
450
    public function ensureConsistency()
451
    {
452
        if ($this->aPageLink !== null && $this->link_id !== $this->aPageLink->getId()) {
453
            $this->aPageLink = null;
454
        }
455
    } // ensureConsistency
456
457
    /**