Code Duplication    Length = 13-14 lines in 2 locations

main/inc/lib/AnnouncementManager.php 1 location

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

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

@@ 4452-4465 (lines=14) @@
4449
    /**
4450
     * @return array
4451
     */
4452
    public static function get_system_folders()
4453
    {
4454
        return array(
4455
            '/certificates',
4456
            '/HotPotatoes_files',
4457
            '/chat_files',
4458
            '/images',
4459
            '/flash',
4460
            '/audio',
4461
            '/video',
4462
            '/shared_folder',
4463
            '/learning_path'
4464
        );
4465
    }
4466
4467
    /**
4468
     * @return array