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

@@ 4303-4316 (lines=14) @@
4300
    /**
4301
     * @return array
4302
     */
4303
    public static function get_system_folders()
4304
    {
4305
        return array(
4306
            '/certificates',
4307
            '/HotPotatoes_files',
4308
            '/chat_files',
4309
            '/images',
4310
            '/flash',
4311
            '/audio',
4312
            '/video',
4313
            '/shared_folder',
4314
            '/learning_path'
4315
        );
4316
    }
4317
4318
    /**
4319
     * @return array