Code Duplication    Length = 7-7 lines in 2 locations

catalog/includes/OSC/OM/Apps.php 2 locations

@@ 61-67 (lines=7) @@
58
59
        $filter_vendor = $filter_app = null;
60
61
        if (isset($filter_vendor_app)) {
62
            if (strpos($filter_vendor_app, '\\') !== false) {
63
                list($filter_vendor, $filter_app) = explode('\\', $filter_vendor_app, 2);
64
            } else {
65
                $filter_vendor = $filter_vendor_app;
66
            }
67
        }
68
69
        $vendor_directory = OSCOM::BASE_DIR . 'Apps';
70
@@ 171-177 (lines=7) @@
168
169
        $filter_vendor = $filter_app = null;
170
171
        if (isset($filter_vendor_app)) {
172
            if (strpos($filter_vendor_app, '\\') !== false) {
173
                list($filter_vendor, $filter_app) = explode('\\', $filter_vendor_app, 2);
174
            } else {
175
                $filter_vendor = $filter_vendor_app;
176
            }
177
        }
178
179
        $vendor_directory = OSCOM::BASE_DIR . 'Apps';
180