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
            '((teacher_name))',
32
            '((teacher_email))',
33
            '((course_title))',
34
            '((course_link))',
35
            '((official_code))'
36
        );
37
    }
38
39
    /**
40
     * @param int       $userId

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

@@ 4370-4383 (lines=14) @@
4367
    /**
4368
     * @return array
4369
     */
4370
    public static function get_system_folders()
4371
    {
4372
        return array(
4373
            '/certificates',
4374
            '/HotPotatoes_files',
4375
            '/chat_files',
4376
            '/images',
4377
            '/flash',
4378
            '/audio',
4379
            '/video',
4380
            '/shared_folder',
4381
            '/learning_path'
4382
        );
4383
    }
4384
4385
    /**
4386
     * @return array