Code Duplication    Length = 13-14 lines in 2 locations

main/inc/lib/AnnouncementManager.php 1 location

@@ 23-35 (lines=13) @@
20
    /**
21
     * @return array
22
     */
23
    public static function get_tags()
24
    {
25
        return array(
26
            '((user_name))',
27
            '((user_firstname))',
28
            '((user_lastname))',
29
            '((teacher_name))',
30
            '((teacher_email))',
31
            '((course_title))',
32
            '((course_link))',
33
            '((official_code))',
34
        );
35
    }
36
37
    /**
38
     * @param int       $userId

main/inc/lib/document.lib.php 1 location

@@ 4288-4301 (lines=14) @@
4285
    /**
4286
     * @return array
4287
     */
4288
    public static function get_system_folders()
4289
    {
4290
        return array(
4291
            '/certificates',
4292
            '/HotPotatoes_files',
4293
            '/chat_files',
4294
            '/images',
4295
            '/flash',
4296
            '/audio',
4297
            '/video',
4298
            '/shared_folder',
4299
            '/learning_path'
4300
        );
4301
    }
4302
4303
    /**
4304
     * @return array