Code Duplication    Length = 10-10 lines in 2 locations

application/modules/xbanners/models/Map/BannerImageI18nTableMap.php 1 location

@@ 165-174 (lines=10) @@
162
    /**
163
     * Build the RelationMap objects for this table relationships
164
     */
165
    public function buildRelations()
166
    {
167
        $this->addRelation('BannerImage', '\\xbanners\\models\\BannerImage', RelationMap::MANY_TO_ONE, array (
168
  0 =>
169
  array (
170
    0 => ':id',
171
    1 => ':id',
172
  ),
173
), 'CASCADE', null, null, false);
174
    } // buildRelations()
175
176
    /**
177
     * Adds an object to the instance pool.

application/modules/xbanners/models/Map/BannersI18nTableMap.php 1 location

@@ 147-156 (lines=10) @@
144
    /**
145
     * Build the RelationMap objects for this table relationships
146
     */
147
    public function buildRelations()
148
    {
149
        $this->addRelation('Banners', '\\xbanners\\models\\Banners', RelationMap::MANY_TO_ONE, array (
150
  0 =>
151
  array (
152
    0 => ':id',
153
    1 => ':id',
154
  ),
155
), 'CASCADE', null, null, false);
156
    } // buildRelations()
157
158
    /**
159
     * Adds an object to the instance pool.